What problem does it solve?
Flaky end-to-end tests erode trust in CI pipelines and waste developer time on false failures. This Skill automatically finds flaky Playwright tests reported in recent main-branch CI runs and PR comments, reproduces them locally, applies fixes, and verifies stability.
Core Features & Use Cases
- Automated flaky test discovery: Scans recent CI workflow runs on main and Playwright report comments on PRs by wwwillchen, keppo-bot, and dyad-assistant to collect flaky tests.
- Frequency-ranked deduplication: Aggregates and ranks flaky tests by occurrence count, grouped by spec file, so the worst offenders are fixed first.
- Reproduce, fix, and verify loop: Runs each spec 10 times with retries disabled, applies Playwright best-practice fixes (explicit waits, stable selectors, snapshot updates), and re-verifies before opening a PR.
- Use Case: After noticing intermittent CI failures on main, run this Skill to gather all recently flaky E2E tests, deflake the top offenders, and push a fix PR automatically.
Quick Start
Ask the assistant to deflake E2E tests from the last 10 commits, optionally passing a different commit count as an argument.