Command cheat sheet
pnpm scripts
| Command | What it does |
|---|---|
pnpm run test | Run the full Playwright suite against the target environment (default: dev2). |
pnpm run report | Open the last HTML report in the browser (playwright show-report). |
pnpm run test:validate-data | Zod-validate every file under tests/data/*.jsonc. |
pnpm run test:validate-spec | Validate frontmatter, section structure, and data refs in every tests/specs/**/*.md. |
pnpm run test:generate-schemas | Emit JSON Schema files to tests/schemas/generated/ for VS Code autocomplete. |
pnpm run checkTs | Run tsc --noEmit over dev-owned infrastructure (POMs, helpers, fixtures, schemas, config). Generated specs are not type-gated here — they're verified by Playwright's own transpile. |
pnpm run lint | Run ESLint over the codebase. |
pnpm run format:check | Check formatting with Prettier (does not write). |
pnpm run format:fix | Write Prettier formatting changes. Scope to specific files when possible. |
pnpm run validate | Run checkTs + lint + format:check + validate-data + validate-spec in sequence — the full pre-commit gate. |
Docs site
| Command | What it does |
|---|---|
pnpm docs:start | Start the Docusaurus dev server (hot-reload). |
pnpm docs:build | Build the static docs site. Fails on any broken link. |
pnpm docs:serve | Serve the last static build locally. |
AI pipeline commands
See AI commands overview for full per-command documentation.
/e2e-from-scratch
Turns a plain-English scenario into a reviewed, runnable test: Planner → Generator → Reviewer.
- Claude Code
- Codex CLI
- Gemini CLI
- Antigravity
/e2e-from-scratch "<scenario>"
Run e2e-from-scratch with this scenario: <scenario>
/e2e-from-scratch "<scenario>"
/e2e-from-scratch
On Antigravity, the slash command takes no inline argument — run /e2e-from-scratch, then provide the scenario when prompted.
/e2e-from-recording
Turns a VS Code Playwright recording into a reviewed, runnable test: Stabilizer → Generator → Reviewer.
- Claude Code
- Codex CLI
- Gemini CLI
- Antigravity
/e2e-from-recording tests/recordings/<name>.spec.ts
Run e2e-from-recording for tests/recordings/<name>.spec.ts
/e2e-from-recording tests/recordings/<name>.spec.ts
/e2e-from-recording
On Antigravity, the slash command takes no inline argument — run /e2e-from-recording, then provide the recording path when prompted.