Playwright E2E Testing

Write and maintain end-to-end tests with Playwright. Generates test suites with proper page objects, fixtures, visual regression checks, and CI integration for cross-browser testing.

This skill helps you build reliable E2E test suites with Playwright. It generates page object models, creates test fixtures for complex setups, implements visual regression testing, handles authentication flows, and configures parallel test execution across Chromium, Firefox, and WebKit.

playwright e2e testing automation cross-browser

When to use

Use when setting up E2E testing for a new project, writing tests for critical user flows, debugging flaky tests, or implementing visual regression testing in CI.

Examples

Auth flow test suite

Create tests for login, signup, and password reset flows

Write Playwright E2E tests for our authentication flow — login, signup, forgot password, and OAuth with proper page objects

Fix flaky tests

Diagnose and fix intermittently failing tests

These 3 Playwright tests fail randomly in CI but pass locally — help me identify the race conditions and fix them