name: playwright-local-e2e description: Use when working on Playwright coverage, local end-to-end flows, smoke tests, guest or contributor user journeys, or when a frontend change needs browser-level verification in Iced Latte Frontend.
Playwright Local E2E
Use this skill for browser-level verification in this repo.
Start Here
- Read
AGENTS.md. - Read
docs/testing/e2e-test-plan.mdfor intended coverage. - Read only the relevant spec or page object under
e2e/.
Repo Facts
- Default local frontend URL:
http://localhost:3000 - Main local command:
npm run test:e2e:local - Smoke command:
npm run test:e2e:local-smoke - Report command:
npm run test:e2e:report
Working Rules
- Prefer the smallest relevant Playwright spec before running the full suite.
- Keep route and feature ownership aligned with
src/appandsrc/features. - For auth-sensitive flows, verify behavior against
docs/AUTH.md. - When a change affects a documented user flow, update the matching E2E coverage plan entry if needed.
Verification Order
- Run the narrowest relevant Playwright spec.
- Run
npm run test:e2e:local-smokewhen a broad smoke check is enough. - Run
npm run test:e2e:localonly when the change affects wider user flows.