What problem does it solve?
Provides clear, repeatable guidance to reduce flaky end-to-end tests by enforcing consistent Page Object patterns, selector priorities, and an exploratory MCP workflow so teams produce reliable, maintainable Playwright tests.
Core Features & Use Cases
- Page Object Model guidelines with a shared BasePage and rules for reuse to avoid duplication.
- Selector priority strategy favoring getByRole and getByLabel, falling back to getByText and getByTestId to minimize fragile locators.
- MCP exploration workflow to snapshot and verify real DOM structure before authoring tests, plus documentation templates for test cases and tag-based test patterns.
- Use cases: add a single test to an existing spec, create a full suite for a feature, refactor repeated behaviors into BasePage or helpers.
Quick Start
Create one Playwright test using the page object pattern for the target page after performing MCP exploration when available.