playwright-e2e-testing
Installation
SKILL.md
Playwright E2E Testing
Overview
Writes real, checked-into-the-repo Playwright tests that run in CI on every change — a regression safety net, distinct from a one-off manual verification pass. Consolidates what were three overlapping, bulk-import skills (e2e-testing, e2e-testing-patterns, and a chunk of playwright-skill's scope) into one, because a persistent test suite and a live debugging session are different jobs with different lifecycles.
When to Use
- A feature or flow needs a lasting, repeatable browser test — not a one-time check of "does this work right now"
- Setting up Playwright for a project that doesn't have E2E coverage yet
- Existing E2E tests are flaky, slow, or hard to maintain
- A complex feature (multi-step flow, an authenticated precondition, real-time/WebSocket updates) needs test coverage that a naive script-per-test approach would make slow or brittle
- Visual regression, cross-browser, or CI integration is needed for browser-facing behavior
- NOT for a one-off "check if this works right now" pass during development — use
browser-testing-with-devtools(live DOM/console/network inspection) for that, orplaywright-skillfor a disposable automation script - NOT for unit or integration tests with no real browser involved — use
test-driven-development - NOT for accessibility auditing as its own goal — use
ui-a11y/wcag-audit-patterns, though an axe scan can live inside this suite (see Step 9)