Measured
Each experiment asks one question about testing and answers it with numbers. The write-up has the result, the repo has the code and the raw data, and the video walks through it.
- Code Graph Test Selection: 99.6% of Faults Caught, 3.4% of Suite Time
code-review-graph picked tests that caught 236 of 237 seeded faults in hono, at 3.4% of suite time. vitest related caught all 237 at 16.1%. The function-level query caught 61.6%.
- Writing a Custom Playwright Reporter: 8 Failures From 2 Failing Tests
A 26-line custom Playwright reporter, and four API traps measured on a 13-test suite: retries, order, async hooks and --max-failures. A naive failure count said 8. The suite had 2.
- Playwright WebMCP: Calls Pass 50 of 50, First Read Misses Late Tools
Playwright 1.65.1 called a page's WebMCP tools in 50 of 50 runs, median 9.64 ms. Tools registered 50 ms late were missing from the first read in 50 of 50 runs, with no error.
- Sharding Playwright in GitHub Actions With One Merged HTML Report
A Playwright suite split over 4 GitHub Actions jobs, then merged into one HTML report. With one failing test, the merge job still ran and the report showed the failure with its trace.
- Playwright --update-snapshots Overwrote a Good Baseline and Passed: 226 of 226 Runs
On a page that never stops moving, --update-snapshots=changed or all wrote a random frame as the baseline and passed, on Playwright 1.40 to 1.65.1. Masking the container stopped it.
- AI-Generated Playwright Tools: 1 in 4 Runs Returned Wrong Data With No Error
3 AI-generated Playwright tools, 10 page changes: 16 of 66 runs reported success with wrong data, and the repair loop never saw them. Four checks against the page took that to 0.
- Playwright MCP vs CLI: Token Cost per Step Is Now the Same
MCP 0.0.85 and CLI 0.1.24 returned responses within 25 tokens of each other on 5 scripted tasks. In two of them, find cut the tokens 19x and 128x against a full snapshot.
- Finding Flaky Playwright Tests That Fail Every Retry
A test failed 4 of 11 runs and Playwright's report never called it flaky. Tracking results across runs marked it flaky at run 5 and quarantined it. 11 scripted runs, public repo.
- Playwright 1.65: A Filter That Matches Nothing Now Fails Every Shard
1,464 runs on Playwright 1.64.1 and 1.65.1. A sharded run with zero matching tests went from all green to all red. Empty shards still pass. One flag still slips through.
- Playwright 1.65 onlyFailures: Smaller Reports That Say Zero Tests Passed
160 runs of a 2,000-test suite on Playwright 1.65.1. onlyFailures cut the JSON report from 3.05 MB to 158 KB at 20 failed tests. It also cut the totals, and the durations other tools read.
- ARIA Snapshots: The Assertion Layer Your Locators Are Missing
Four suites, three rounds of UI drift, five invisible accessibility regressions. The suite that survived best noticed least — and ARIA snapshots were the only assertions that caught everything.
- Self-Healing Tests: What the Vendors Aren't Telling You
I broke a test suite twice and let Playwright's healer agent fix it. It repaired everything, fast and correctly — and that's exactly the problem with the sales pitch.
- Your AI's Tests Pass. Here's What They Don't Check
An agent wrote a module and its own tests: 100% line coverage, 90.67% mutation score. What the seven surviving mutants reveal about verifying AI-written code.
- Hands-On with Playwright Test Agents: Planner, Generator, Healer — Measured
Playwright's official test agents evaluated properly: generated suite quality vs a baseline, the 43-minute agentic tax, and why the healer should never run unsupervised.