playwright-testing
When to use
Design verification. When exercising a UI artifact, run the
(open → console/load → viewport → text-fit → assets → interaction) and capture
evidence; a design task with browser capability present is not "done" without it.
Use this skill when:
- Writing end-to-end tests with Playwright
- Automating browser interactions for testing
- Setting up visual regression testing
- Using Playwright MCP for design reviews
- Debugging flaky E2E tests
- Configuring Playwright for CI/CD
Guideline: ../../guidelines/e2e/playwright.md — full conventions, config templates, CI setup.
Mobile: for native iOS/Android or React Native E2E, do NOT reuse Playwright — see the mobile-e2e-strategy skill for framework selection.
Procedure: Write Playwright tests
- Read the guideline —
../../guidelines/e2e/playwright.mdfor detailed conventions. - Check Playwright config —
playwright.config.tsfor browsers, base URL, timeouts. - Check existing tests — match patterns in
tests/e2e/ore2e/. - Check test utilities — look for page objects, fixtures, helpers.
- Check CI setup — how are E2E tests run in the pipeline?
- Enumerate the cases — run the