What problem does it solve?
Debugging failing or flaky Playwright E2E tests from CI artifacts is slow and error-prone. This Skill performs root-cause analysis on Playwright trace archives, correlating trace steps, console logs, network requests, and screenshots to classify failures as app bugs, test bugs, flakiness, or environment issues.
Core Features & Use Cases
- Trace-driven root-cause analysis: Parses
trace.zip files via MCP tools or manual newline-delimited JSON parsing to find the first meaningful failure, not the cascade.
- Failure classification: Categorizes failures as app bug, test bug, likely flaky, environment/infra, or unknown, with explicit confidence levels and evidence citations.
- Multi-trace comparison: Compares passing vs failing traces or retry traces to isolate divergence points and distinguish deterministic failures from flakiness.
- Use Case: A CI run fails with a locator timeout. Provide the trace.zip path and receive a structured report with an event timeline, cited evidence, root cause, ruled-out hypotheses, and a specific fix with file path and line reference.
Quick Start
Analyze the Playwright trace at tests/playwright/output/traces/login_test_trace.zip and tell me why the test failed.