What problem does it solve?
Playwright E2E test suites often become flaky and expensive when selectors are guessed, page flows aren’t validated end-to-end, and duplicated page-object logic grows uncontrollably.
Core Features & Use Cases
- MCP-first UI exploration: Uses Playwright MCP tools (when available) to navigate, snapshot structure, interact with the real flow, capture screenshots, and derive selectors from actual UI state.
- Deterministic Page Object Model: Enforces a consistent file structure with a
BasePage, shared helpers, and per-page page objects plus a single spec per page.
- Selector reliability rules: Prioritizes robust queries like
getByRole and getByLabel, uses getByText only for static content, and falls back to getByTestId when necessary.
- Scope control and suite behavior: Asks for clarification when the user intent is ambiguous (single test vs full suite), preventing accidental over-generation.
Quick Start
Generate a Playwright E2E test for the user sign-up flow, using the Playwright MCP exploration workflow if available and creating only the single most relevant test in the existing spec.