What problem does it solve?
E2E tests fail or become hard to maintain when every spec re-creates the same setup steps (login, navigation, and data preparation), so this Skill standardizes how fixtures and preconditions are developed and registered.
Core Features & Use Cases
- Fixture-based precondition setup: Implement reusable Playwright fixtures for authentication, navigation, and stateful pages to match spec needs.
- Precondition catalog governance: Maintain a precondition key → fixture mapping so specs can reference only approved states.
- Robust fixture refactoring: Support fixture layering with dependency chains while preventing circular dependencies and overly deep setups.
- Typical use case: When a new spec requires “logged-in state” or a specific data state like “cart has an item,” add or refactor the corresponding fixture and register it in the catalog.
Quick Start
Ask the AI to create a new precondition key for your missing spec state and implement the corresponding Playwright fixture, then update the precondition catalog to wire them together.