playwright-triage

Analyze Playwright test-results to classify E2E failures and generate Markdown diagnosis reports.

2|1|Updated May 22, 2025
One-click install
npx skills add https://github.com/skyasu2/openmanager-vibe-v5 --skill playwright-triage
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: playwright-triage
Source: https://github.com/skyasu2/openmanager-vibe-v5/tree/main/.claude/skills/playwright-triage
Command: npx skills add https://github.com/skyasu2/openmanager-vibe-v5 --skill playwright-triage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Playwright E2E failures are often time-consuming to diagnose. This Skill automates parsing test results, classifying error types, and generating structured diagnostics that guide fixes.

Core Features & Use Cases

  • Automatic failure triage: parses test-results directories to identify failure type (Timeout, Selector Not Found, Network Failure, Assertion Failure, Page Crash).
  • Evidence-backed diagnostics: produces a diagnosis report with test name, error pattern, root cause, and recommended fixes along with relevant screenshots, videos, and traces.
  • Quick Fix generation: suggests actionable code/config changes and can generate quick-fix scripts tailored to the detected failure mode.

Quick Start

Triage a failing Playwright test by providing the test-results directory to the skill and reviewing the generated diagnosis report. For example, point it to test-results/

Frequently Asked Questions about playwright-triage

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

FAQPage Schema
How do I debug Playwright E2E test failures automatically?▼

To debug Playwright E2E failures automatically, point a triage tool to your test-results directory to parse logs, classify errors like Timeout or Page Crash, and generate a structured Markdown diagnosis report with recommended fixes.

What types of Playwright test errors can be automatically classified?▼

Playwright test errors can be automatically classified into Timeout, Selector Not Found, Network Failure, Assertion Failure, and Page Crash categories, with each classification providing evidence-backed diagnostics and recommended fixes.

Can I generate quick-fix scripts for failed Playwright tests?▼

Yes, you can generate quick-fix scripts for failed Playwright tests. Triage tools analyze test-results directories and suggest actionable code or config changes tailored to the detected failure mode for immediate remediation.

Does Playwright triage use screenshots and traces for failure diagnosis?▼

Playwright triage uses screenshots, videos, and traces from the test-results directory as evidence. This data is compiled into a structured diagnosis report linking the test name, error pattern, and root cause to the relevant artifacts.

What is the best way to diagnose Playwright selector not found errors?▼

The best way to diagnose Playwright selector not found errors is to use automated triage that parses test-results, matches the error pattern, identifies the root cause, and outputs a Markdown report with concrete fix recommendations and evidence.