e2e-testing

Automate creation, debugging, and stabilization of Playwright end-to-end tests.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/espensev/ai-skills --skill e2e-testing-espensev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-testing
Source: https://github.com/espensev/ai-skills/tree/main/codex-skills/skills/e2e-testing
Command: npx skills add https://github.com/espensev/ai-skills --skill e2e-testing-espensev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automate and stabilize Playwright end-to-end tests to reduce flaky failures and speed up debugging during web app development.

Core Features & Use Cases

  • Stable selectors and app-aware setup ensure tests remain reliable as the app evolves.
  • Artifact capture (traces, screenshots, videos) enables quick debugging and audit trails.
  • Flake-resistant waiting strategies and modular test scaffolding accelerate authoring and maintenance.
  • Use cases include regression checks during feature releases, QA preflight validation, and ongoing test-suite hygiene.

Quick Start

Run a basic Playwright end-to-end test in your app using the provided sample to verify setup.

Frequently Asked Questions about e2e-testing

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

FAQPage Schema
How do I fix flaky Playwright e2e tests that fail intermittently during releases?

Fix flaky Playwright e2e tests by replacing sleep-based delays with state-based waits and using stable selectors. This approach ensures tests only proceed when the application reaches the expected state, reducing intermittent failures during regression checks.

What's the best way to debug a failing Playwright e2e test in my web app?

Debug failing Playwright e2e tests by capturing artifacts like traces, screenshots, and videos during the test run. These captured outputs provide an audit trail to quickly identify exactly where and why the web automation script failed.

How do I set up a Playwright e2e test runner for feature development and QA pipelines?

Set up a Playwright test runner by configuring app startup procedures and modular test scaffolding. This app-aware setup ensures your e2e-testing environment remains stable and reliable as your web application evolves through feature development.

Can I use Playwright e2e tests for regression testing without slowing down releases?

Yes, you can use Playwright e2e tests for regression testing without slowing releases by implementing flake-resistant waiting strategies and modular scaffolding. This speeds up authoring, maintenance, and QA preflight validation by minimizing false failures.

Why do my Playwright e2e tests break when the UI changes, and how do I prevent it?

Playwright e2e tests break during UI changes when using brittle selectors. Prevent test breakage by implementing stable selectors that remain reliable as the app evolves, ensuring ongoing test-suite hygiene without constant script rewrites.

Do I need to configure artifact capture to run stable Playwright e2e tests?

Artifact capture is not strictly required to run tests but is essential for quick debugging and audit trails. Configuring traces, screenshots, and videos alongside state-based waits significantly stabilizes the suite and speeds up issue resolution.