What problem does it solve?
This Skill solves the problem of flaky, slow, and hard-to-maintain end-to-end tests by providing practical Playwright patterns that produce reliable results across local and CI environments.
Core Features & Use Cases
- Playwright E2E test organization: Defines a maintainable tests/ structure (auth, features, API) that scales as your app grows.
- Page Object Model (POM): Encapsulates selectors and user flows in page objects to reduce duplication and improve readability.
- Configuration, CI/CD, and reporting: Sets up deterministic runners with retries, parallelism controls, webServer integration, and artifact uploads (HTML reports, screenshots, traces).
- Flaky test identification and quarantine: Uses repeat runs, retries, fixme/skip strategies, and targeted waiting rules to isolate and resolve instability.
- Artifacts and diagnostics: Captures screenshots, traces, and videos on failure for quick debugging.
- Special-case flows: Includes patterns for wallet/Web3 UI mocking and production-safety for critical financial flows.
Quick Start
Generate a complete Playwright E2E suite using the Page Object Model, a CI-ready playwright.config.ts, and a flaky-test strategy with artifacts enabled.