← ClaudeAtlas

e2e-testinglisted

Plans, generates, runs, and heals end-to-end tests using Playwright Test Agents (Planner, Generator, Healer) and the official `@playwright/mcp` server. Drives a spec-first feature-flow loop, proposes `data-testid` source diffs only when accessibility-tree locators fail, and stays token-aware via snapshot mode and `--last-failed` reruns. Use when adding E2E coverage, verifying a user journey, hardening a flaky flow, or wiring Playwright MCP into a repo. Triggers on "test this flow", "add e2e", "verify the user journey", "write e2e test", "feature test", "playwright agents", "/e2e-testing".
mthines/agent-skills · ★ 4 · Testing & QA · score 83
Install: claude install-skill mthines/agent-skills
# E2E Testing Drive end-to-end tests through Playwright's MCP-backed Test Agents — Planner, Generator, Healer — released in Playwright 1.56 (Oct 2025). The user writes (or approves) a Markdown feature spec; agents generate the test, run it against a real browser via the accessibility tree, and self-heal when locators drift. > **This `SKILL.md` is a thin index.** > Decision rules live in [`rules/*.md`](./rules) and load on demand. > Worked references (agent reference, MCP tool catalog, pyramid math) live > in [`references/*.md`](./references). > Literal boilerplate the skill emits lives in [`templates/*.md`](./templates). > Do not preload everything — load only what the current phase asks for. --- ## When to use Reach for this skill when any of the following is true: - A feature has user-facing flow that integration tests cannot fully cover. - A bug repros only through real navigation (multi-page, auth, real network). - A flake needs a Healer pass instead of a manual locator hunt. - The repo has no `@playwright/mcp` wiring yet and needs Phase 0 setup. Do **not** reach for this skill when: - A unit or component test would catch the same bug — defer to [`tdd`](../tdd/SKILL.md) and the layer rule in [`rules/layer-decision.md`](./rules/layer-decision.md). - The change is a pure refactor with no behavioural surface. - You are adding test infrastructure unrelated to a real flow. --- ## Phase 0 — Preflight (mandatory gate) Before any agent loop, verify the repo is wire