e2e-playwright

Eliminate flaky Playwright end-to-end test failures across Chromium, Firefox, and WebKit.

156|21|Updated Oct 25, 2025
One-click install
npx skills add https://github.com/anton-abyzov/specweave --skill e2e-playwright
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-playwright
Source: https://github.com/anton-abyzov/specweave/tree/main/plugins/specweave-testing/skills/e2e-playwright
Command: npx skills add https://github.com/anton-abyzov/specweave --skill e2e-playwright

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

End-to-end testing with Playwright, including cross-browser, visual regression, API testing, and test architecture patterns.

Core Features & Use Cases

  • Playwright-based E2E tests across browsers
  • Page Object Model (POM) patterns and fixtures
  • API testing alongside UI flows
  • Visual regression and accessibility checks

Quick Start

Create a simple login flow test using Playwright and assertions for URL and text.

Frequently Asked Questions about e2e-playwright

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I eliminate flaky end-to-end tests with Playwright across multiple browsers?

Playwright's auto-waiting and intelligent waits eliminate flaky failures in E2E tests. Configure tests to run across Chromium, Firefox, and WebKit, use built-in assertions for reliability, and leverage network interception and mocking to control external dependencies. Parallel execution and CI/CD integration scale coverage across environments.

Can I test authentication flows and API interactions in the same Playwright test?

Yes. Playwright supports testing complete authentication flows alongside API validations within a single test. Use authentication state management to maintain sessions, combine UI interactions with API calls, and integrate fixtures to share reusable test data and state across tests.

What's the best way to structure maintainable end-to-end tests with Playwright?

Use Page Object Model (POM) patterns to organize test logic by page components, making tests readable and maintainable. Combine POM with fixtures for reusable test setup and teardown. This architecture scales across large test suites and simplifies updates when UI changes.

How do I run visual regression and accessibility checks in Playwright tests?

Playwright enables visual regression testing by capturing screenshots and comparing against baselines, and accessibility checks by validating ARIA attributes and semantic markup. Both integrate into your test flow to catch visual inconsistencies and accessibility violations early.

Does Playwright support mobile device emulation for end-to-end testing?

Yes. Playwright includes built-in mobile emulation to test responsive behavior on iOS and Android devices without physical hardware. Combine emulation with cross-browser testing to validate UI consistency and functionality across desktop and mobile contexts.

Why should I use fixtures and parallel execution in Playwright tests?

Fixtures provide reusable, isolated test setup and state management, reducing duplication and test flakiness. Parallel execution runs tests concurrently across multiple workers, dramatically reducing total test runtime while maintaining reliability through fixture isolation.