بنقرة واحدة
nean-e2e
Manage Playwright E2E tests for critical user journeys.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Manage Playwright E2E tests for critical user journeys.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Scaffold a pnpm + Turborepo MERN monorepo with Next.js, tooling, tests, CI, and optional GitHub repo creation.
Configure GitHub repository security with branch protection, Dependabot, security scanning, and CI workflows. Integrates with mern-scaffold, nean-scaffold, and iOS projects.
Harden a Vercel deployment with security headers, CSP, bot protection, and deployment configuration
Add authentication to an iOS app with Sign in with Apple, biometrics, and Keychain storage.
Scaffold a new feature with View, ViewModel, and tests following ios-std conventions.
Review iOS code for compliance with standards, NFRs, and security policy.
| 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 |
Create, run, and maintain E2E tests for critical user flows using Playwright.
--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 approvalapps/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
auth — Authentication flows (signup, signin, signout, password reset)onboarding — First-time user experience<feature>-crud — Create, read, update, delete for a feature<feature>-workflow — Multi-step workflowscheckout — Payment/purchase flowssettings — User settings and preferences# Run all E2E tests
npm run e2e
# Run specific journey
npm run e2e -- --grep "auth"
# Run in headed mode (watch)
npm run e2e -- --headed
# Run with UI mode
npm run e2e -- --ui
# Generate report
npm run e2e -- --reporter=html && npx playwright show-report
--add)src/journeys/<journey>.spec.ts--run)--fix)data-testid for stable selectorspage.waitForTimeout)// Wait for Angular to stabilize
await page.waitForSelector('app-root:not(.loading)');
// Use data-testid attributes
await page.click('[data-testid="submit-button"]');
// Wait for PrimeNG components
await page.waitForSelector('.p-datatable-tbody tr');
For Playwright setup and patterns, see reference/nean-e2e-reference.md