What problem does it solve? Front-end tests often break on refactors or pass while real bugs slip through because they test implementation details instead of user-visible behavior. This Skill provides patterns for writing UI and end-to-end tests that mirror how users actually interact with the application, so tests survive refactors and catch real defects. ## Core Features & Use Cases - Harness Selection Guidance: Choose between Vitest Browser Mode, jsdom, and Playwright E2E based on whether the claim depends on real rendering, CSS, focus, or browser APIs. - Accessibility-First Queries: Prioritize getByRole and other accessible locators over testIds and querySelector, with auto-retrying assertions via expect.element(). - E2E Evidence Boundaries: Enforce the rule that browser or user-journey claims must be proved by real browser initiators, never by direct HTTP calls standing in for the user. - Use Case: When writing a Playwright test for a sign-up flow, the Skill directs you to drive the form through accessible locator actions and assert the rendered outcome, rather than calling the API endpoint directly and falsely claiming journey coverage. ## Quick Start Ask the AI to write a Vitest Browser Mode test for a login form that types into labelled fields, clicks the submit button, and asserts the success message appears.