What problem does it solve? Writing reliable end-to-end tests is hard: flaky selectors, race conditions, and inconsistent environments cause tests to fail unpredictably. This Skill provides proven Playwright with TypeScript patterns for UI flows, API validation, and responsive testing so tests stay stable and maintainable. ## Core Features & Use Cases - E2E Test Authoring: Write tests for user flows, forms, and authentication using role-based locators, web-first assertions, and test.step() structure. - API Testing & Mocking: Validate backend responses via the request fixture and intercept network calls with page.route() for deterministic tests. - Page Object Model & Fixtures: Implement maintainable test architecture with BasePage classes, component objects, fluent interfaces, and custom fixtures. - Use Case: You need to verify a checkout flow works on mobile and desktop. Use this Skill to write viewport-parameterized tests with mocked payment APIs, then debug failures using traces and the Playwright Inspector. ## Quick Start Write a Playwright test that logs in a user, completes the checkout flow, and verifies the order confirmation page on both mobile and desktop viewports.