| 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)