← ClaudeAtlas

devpilot-e2e-testslisted

Use when the user wants to generate, scaffold, or auto-write end-to-end / browser tests for a web app — "generate e2e tests", "write Playwright tests", "auto-generate browser tests", "/e2e-tests", "test the login/checkout flow end to end". Playwright-first; drives the running app to capture real selectors and verifies each spec to green. Do NOT use for unit/integration tests, API-only tests, CLI tests, or non-Playwright e2e frameworks already present (it will stop).
SiyuQian/devpilot · ★ 4 · Testing & QA · score 67
Install: claude install-skill SiyuQian/devpilot
# Auto-Generate E2E Tests (Playwright) ## Overview Generated e2e tests that were never executed are usually wrong — selectors mismatch, timing is off, auth is missing. This skill is **live-primary**: it drives the *running* app to capture real selectors and assert against the real DOM, then **verifies every spec to green** before reporting. A flow that can't be made green honestly is left as `test.fixme` with a diagnostic note — never faked by weakening an assertion or pasting blanket waits. ## When to Use - "Generate e2e tests for this app" / "write Playwright tests" - "Test the login (or checkout, signup, …) flow end to end" - "Auto-generate browser tests for my web app" **Don't use for:** unit or integration tests, API-only tests (no browser), CLI tests, or a repo that already uses a **different** e2e framework (Cypress/Selenium/WebdriverIO) — this skill is Playwright-first and will stop rather than add a second harness. ## Workflow ```dot digraph e2e { "Detect harness & framework" [shape=box]; "Other e2e framework present?" [shape=diamond]; "STOP — ask before adding Playwright" [shape=box]; "Playwright present?" [shape=diamond]; "Bootstrap minimal Playwright" [shape=box]; "Infer + confirm launch / auth / env" [shape=box]; "Set up storageState auth" [shape=box]; "Discover flows (MCP or source seed)" [shape=box]; "Propose prioritized batch, confirm" [shape=box]; "Generate one spec (semantic locators)" [shape=box]; "Run spec