| name | nean-e2e |
| description | Manage Playwright E2E tests for critical user journeys. |
| argument-hint | [--add <journey>] [--run] [--report] [--fix] |
| allowed-tools | Bash, Write, Read, Glob, Grep |
Purpose
Create, run, and maintain E2E tests for critical user flows using Playwright.
Arguments
--add <journey> โ Create new journey test (e.g., signup-flow, checkout)
--run โ Run all E2E tests
--run <pattern> โ Run tests matching pattern
--report โ Generate and display HTML report
--fix โ Fix flaky tests with approval
Test organization
apps/web-e2e/
โโโ src/
โ โโโ journeys/ # User journey tests
โ โ โโโ auth.spec.ts # Sign up, sign in, sign out
โ โ โโโ onboarding.spec.ts # First-time user flow
โ โ โโโ <feature>.spec.ts # Feature-specific journeys
โ โโโ fixtures/ # Test fixtures and helpers
โ โ โโโ auth.fixture.ts # Auth helpers (login as user)
โ โ โโโ db.fixture.ts # Database seeding
โ โโโ pages/ # Page Object Models
โ โโโ home.page.ts
โ โโโ settings.page.ts
โโโ playwright.config.ts # Playwright configuration
โโโ .env.test # Test environment
Journey naming
- โ Authentication flows (signup, signin, signout, password reset)