E2E QA Playwright
CLI-first browser QA baseline for this organization.
Policy
- •Use Playwright CLI as default.
- •Do not use mabl as baseline.
- •Do not use Stagehand as baseline.
Setup
bash
bun add -d @playwright/test bunx playwright install --with-deps
Required Targets
- •
make qa - •
make qa-smoke - •
make qa-headed(optional local debug)
Core Commands
bash
bunx playwright test --reporter=line bunx playwright test tests/e2e/smoke.spec.ts bunx playwright test --headed
CI Rules
- •Run headless by default.
- •Fail pipeline on test failure.
- •Store screenshots/videos/traces as artifacts.
Output Contract
Return:
- •Test files added/updated.
- •Exact command outputs.
- •Flake analysis and stabilization changes.