Writes Playwright end-to-end functional tests and visual regression baselines for a use case, and updates the use-case-to-test traceability matrix. Use when the user asks to "write E2E tests for UC-xxx", "add Playwright coverage", "add a visual regression test", or mentions end-to-end testing or screenshot testing for a specific use case.
80
100%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Write Playwright functional and visual regression tests for use case $ARGUMENTS, following
docs/guidelines/testing.md §5. Cover the main success scenario and every alternative/failure flow.
playwright.config. Only the Chromium project is configured — Chrome is the
only supported browser for this project (requirements.md C-018, testing.md §5) — adding the others is unnecessary
scope and unnecessary CI time.docs/guidelines/design-system.md (wrong tokens, missing
confirmation banner, ad hoc component). A visual regression baseline that locks in a drifted implementation is
worse than no baseline — it makes the drift the new "correct" state.docs/use-cases/UC-*.md — main flow, every alternative flow, and the exact
notification/error text the UI must show.docs/guidelines/testing.md §7 for this use case's expected E2E coverage.toHaveScreenshot visual regression baselines for any view this use case creates or changes; run
npx playwright test --update-snapshots only for the views intentionally changed, never as a blanket pass.playwright.config still only runs the Chromium project.docs/guidelines/testing.md §7 to reflect the coverage actually written.npx playwright test and confirm everything passes.docs/guidelines/design-system.md and docs/guidelines/design-mockup.html — what a correct baseline screenshot
should actually look like.docs/guidelines/testing.md §5 — E2E strategy, visual regression workflow, browser scope.docs/use-cases/UC-*.md — the flows, copy, and navigation to verify.docs/use-cases/UC-010-view-application-error.md and UC-011-clinic-user-login.md — the auth/error scenarios
every protected-route test needs to account for.../../rules/mcp-servers.md.dee4c03
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.