Skip to content
Skills Library
Programming · Testing

e2e

/e2e

Writes and runs Playwright end-to-end tests for a user journey: role-based locators, auth storage state, test data setup, axe accessibility checks, mobile viewport, and trace debugging. Uses the webapp-testing skill and Playwright MCP when installed. Use for testing a journey through the real app.

Licence
MIT
Last repository change
09.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 09.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Writes and runs Playwright end-to-end tests for a user journey: role-based locators, auth storage state, test data setup, axe accessibility checks, mobile viewport, and trace debugging. Uses the webapp-testing skill and Playwright MCP when installed. Use for testing a journey through the real app.

Arguments

/e2e <journey description | J-NN | S-NNN>
Original author description

Writes and runs Playwright end-to-end tests for a user journey: role-based locators, auth storage state, test data setup, axe accessibility checks, mobile viewport, and trace debugging. Uses the webapp-testing skill and Playwright MCP when installed. Use for testing a journey through the real app.

How it works

  1. Inputs
  2. Phases
  3. Next step
Original SKILL.md headings · 51 lines, 258 words
SKILL.md preview
---
name: e2e
description: "Writes and runs Playwright end-to-end tests for a user journey: role-based locators, auth storage state, test data setup, axe accessibility checks, mobile viewport, and trace debugging. Uses the webapp-testing skill and Playwright MCP when installed. Use for testing a journey through the real app."
argument-hint: "<journey description | J-NN | S-NNN>"
user-invocable: true
allowed-tools: Read, Glob, Grep, Write, Edit, AskUserQuestion, Agent, Bash(bash .claude/scripts/*), Bash(npx playwright test*), Bash(npx playwright show-report*)
model: sonnet
---

# E2E

Tests the product the way a user uses it. Runs against the local dev server
(Playwright `webServer`) or a preview URL; never against production unless the
user explicitly asks and the test is read-only.

## Inputs

- The journey (argument), a `J-NN` from `tests/e2e/CRITICAL-JOURNEYS.md`, or a
  story's e2e ACs
- `playwright.config.*` (run `/test-setup e2e` first if missing)
- The UX flow in `docs/design/ux/` for expected steps and states
- If installed: `webapp-testing` (anthropics/skills) for driving the app;
  Playwright MCP for exploring the page interactively. Otherwise say so and continue.

## Phases

### Phase 1: Script the journey

List steps and assertions, including one failure path (invalid input, no
permission). Decide data setup: API/DB seeding helpers or fixtures, never UI
clicks for setup that isn't under test. Logged-in journeys reuse a storage state
from a setup project.

### Phase 2: Explore (optional)

If Playwright MCP or `webapp-testing` is available, open the page, read the
accessibility tree, and confirm the roles and names to target.

### Phase 3: Write

`tests/e2e/<journey-slug>.spec.ts`:
- locators: `getByRole`, `getByLabel`, `getByText` for content; `data-testid` only as last resort
- web-first assertions (`await expect(locator).toBeVisible()`); no `waitForTimeout`
- `checkA11y`/`AxeBuilder` on each key page; fail on serious/critical violations
- a mobile project run for P0 journeys
- tag `@p0` or `@journey:J-NN`

Ask before writing.

### Phase 4: Run and debug

`npx playwright test tests/e2e/<file>` → report. On failure, open the trace,
identify whether it's a product bug (→ `/bug-report`) or a test bug (→ fix), and
say which.

## Next step

`/regression-suite review` to update journey coverage.

Versions

RepositoryScoreLicence
This page · chatquill/claude-code-websites90MIT
e2e-inc/e2e100Apache-2.0
tester-army/e2e100Apache-2.0
lodev09/react-native-true-sheet100MIT
tmih06/ompig-slim100MIT
sgaabdu4/building-flutter-apps100MIT
p2p2sp/viber100MIT
malcolm1232/workboard100Apache-2.0
arbazkhan971/godmode100MIT

Database snapshot: 13.11.2026 · package version bd3c83261561 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100e2e-testing
    Plans, generates, runs, and heals Playwright end-to-end tests through a spec-first loop with Playwright Test Agents and `@playwright/mcp`. Use when adding E2E coverage or hardening a flaky flow; triggers on "add e2e", "test this flow", "verify the user journey", "/e2e-testing".
  • 90e2e-testing
    Write and run end-to-end tests in a real browser against the real running stack (Playwright): journeys, selectors, seeded data, UI-API consistency, accessibility, traces. Use for user-journey tests, integration smoke checks and acceptance automation.
  • 86e2e-test
    Writes end-to-end tests for a user journey through the running app, Playwright preferred. Use when user requests e2e, end-to-end, Playwright, or Cypress tests.
  • 100setup-e2e-testing
    Set up Playwright + Testcontainers + axe-core for e2e and accessibility testing. Includes patterns for forms, tables, workflows. Use when setting up e2e tests or writing Playwright tests.
  • 100webapp-testing
    End-to-end web testing with Playwright - route discovery, critical flows, visual and API checks; use for e2e tests.
  • 95memstack-development-webapp-testing
    Use when the user says 'write browser tests', 'test this page', 'playwright test', 'e2e test', 'end to end test', 'browser test', 'test the UI', or needs Playwright-based browser testing for a web application. Do NOT use for unit tests, API tests, or non-browser testing.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.