What problem does it solve?
This Skill helps you build and maintain end-to-end (E2E) test suites that catch real regressions without becoming flaky, slow, or overly tied to implementation details.
Core Features & Use Cases
- E2E testing strategy: Use E2E for critical user journeys and cross-browser coverage, while avoiding slow or redundant testing that belongs in unit or integration layers.
- Playwright patterns: Set up robust configuration, use Page Object Model for maintainable test code, apply deterministic fixtures, and choose reliable waiting strategies.
- Flake reduction & debugging: Prefer condition-based waits and meaningful assertions, mock/intercept network calls when needed, and use tracing/video/screenshots plus step-level reporting to diagnose failures.
- Cypress patterns: Create custom commands for reuse, intercept/mock APIs for deterministic runs, and simulate slow networks to validate resilience.
- Advanced E2E quality checks: Add visual regression and accessibility checks to ensure UI correctness and inclusive user experiences.
Quick Start
Use the e2e-testing-patterns skill to design E2E tests for a critical user workflow using Playwright and add stable selectors and deterministic waiting so the suite runs fast and reliably.