Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Scaffolds, builds, runs and validates Playwright end-to-end tests in four gated phases, saving artifacts at each step.
Use this skill ↓45% 82%+36 ptsof test cases passed
Passed 18 of 22 test cases with the skill, and 10 of 22 without it.
3 of 3 safety checks passed
Not used yet
Playwright-based E2E testing across four phases: Scaffold, Build, Run, Validate. Each phase produces a saved artifact and must pass its gate before the next phase begins.
| Signal | Load These Files | Why |
|---|---|---|
| async, Promise.all, race condition, waitForTimeout, fixture teardown | async.md | Routes to the matching deep reference |
| auth, login, storageState, OAuth, SSO, JWT, RBAC, multi-role, session expiry | auth.md | Routes to the matching deep reference |
| config, playwright.config.ts, POM, data-testid, CI/CD workflow | templates.md | Routes to the matching deep reference |
| error, timeout, tsc fail, locator, fill, missing JSON | errors.md | Routes to the matching deep reference |
| POM examples, waiting, multi-browser, shared auth session | playwright-patterns.md | Routes to the matching deep reference |
| Web3, MetaMask, wallet, addInitScript | wallet-testing.md | Routes to the matching deep reference |
| payment, financial, production skip, blockchain | financial-flows.md | Routes to the matching deep reference |
| flaky, intermittent, repeat-each, retries, quarantine | flakiness-triage.md | Routes to the matching deep reference |
Goal: Verify Playwright is installed, create the directory structure, and generate playwright.config.ts.
Actions:
@playwright/test is installed: npx playwright --version. If not, run npm install -D @playwright/test and npx playwright install.tests/
e2e/
auth/
features/
api/
pages/ <- POM classes live here
artifacts/
screenshots/
traces/
videos/
playwright.config.ts using the template in references/templates.md. The config bakes in failure diagnostics by default: screenshot: 'only-on-failure', trace: 'on-first-retry', and video: 'retain-on-failure' so that every failure produces actionable artifacts without manual setup. CI retries (retries: process.env.CI ? 2 : 0) absorb transient infrastructure flakiness without masking real bugs.playwright.config.ts is valid TypeScript: npx tsc --noEmit. Run this deterministic check before any subjective assessment of the config -- compiler errors are facts, opinions are not.Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.