用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill mern-e2e命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | mern-e2e |
| description | Manage Playwright E2E tests for critical user journeys. Use when this capability is needed. |
| metadata | {"author":"edfenton"} |
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/
├── 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.ts # Auth helpers (login as user)
│ └── db.ts # Database seeding
├── pages/ # Page Object Models
│ ├── HomePage.ts
│ └── SettingsPage.ts
└── playwright.config.ts # Playwright configuration
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
pnpm test:e2e
# Run specific journey
pnpm test:e2e --grep "auth"
# Run in headed mode (watch)
pnpm test:e2e --headed
# Run with UI mode
pnpm test:e2e --ui
# Generate report
pnpm test:e2e --reporter=html && npx playwright show-report
--add)e2e/journeys/<journey>.spec.ts--run)--fix)page.waitForTimeout)For Playwright setup and patterns, see reference/mern-e2e-reference.md
Converted and distributed by TomeVault — claim your Tome and manage your conversions.