What problem does it solve? Frontend changes often ship without adequate regression coverage, leading to broken interactions, accessibility violations, and flaky visual regressions discovered only in production. This Skill guides the creation of deterministic UI tests that validate rendering, interaction, accessibility, and network-driven states before release. ## Core Features & Use Cases - Scoped Test Selection: Choose between component tests, page/route tests, and end-to-end journey tests based on the risk profile of the change. - Modern Tooling Standards: Enforces Playwright v1.48+ web-first auto-waiting assertions, MSW v2 transport-level network mocking with onUnhandledRequest: 'error', and HAR replay for third-party API stability. - Accessibility & Visual Gates: Runs automated WCAG 2.2 AA scans via @axe-core/playwright, verifies keyboard focus traps and restoration, and stabilizes visual snapshots with font readiness, animation disabling, and element masking. - Use Case: When adding a new checkout form, use this Skill to write component tests for validation states, mock the payment API with MSW v2 handlers, verify modal focus containment, and capture containerized visual regression baselines. ## Quick Start Use the frontend-testing skill to add regression tests for the new checkout form component, covering its error states, keyboard accessibility, and mocked API responses.