What problem does it solve?
This Skill reduces flaky, slow, and hard-to-debug Playwright test suites by guiding you toward consistent patterns for selectors, waiting, structure, and CI reliability across E2E, component, and API testing.
Core Features & Use Cases
- Deterministic test architecture: Choose solid test structure (E2E vs component vs API) and apply patterns like Page Object Model vs fixtures to keep suites maintainable.
- Stable interactions: Use robust locator strategies and web-first assertions to minimize timing issues and brittle selectors.
- Debugging and resilience: Diagnose flaky tests with traces/inspector guidance, handle timeouts, and capture console/JS errors to pinpoint root causes.
- Coverage of real-world scenarios: Covers authentication flows (including OAuth and MFA), advanced browser APIs (geolocation/permissions/clipboard/camera), network and error handling, offline/recovery, file upload/download, multi-context/popups, i18n, accessibility (axe-core), security checks, visual regression, Electron apps, and browser extensions.
- CI/CD optimization: Provides sharding, tagging, reporting, environment management, and test coverage strategies to keep pipelines efficient and trustworthy.
Quick Start
Use this Skill when you want targeted guidance to fix flaky Playwright tests by telling the AI: "Fix my flaky Playwright login flow and make the assertions stable using best practices."