$ npx playwright test --project=gary-parker
- playwright-smart-reporter147,202 downloads/mo · 92 stars
- playwright-affected1,245 downloads/mo · 7 stars
- tracescrub610 downloads/mo
- tracediff449 downloads/mo
- playwright-shard-balancer286 downloads/mo
- playwright-release-notes-examples38 stars
6 passed149,792npm downloads/mo · 137 stars
Gary Parker
Quality engineering for teams shipping with AI: I build open-source Playwright tooling and write up experiments with measured results.
writing
view all →- Code Graph Test Selection: 99.6% of Faults Caught, 3.4% of Suite Timecode-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 TestsA 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 ToolsPlaywright 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 ReportA 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 RunsOn 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.
experiments
view all →- AI-Generated Playwright Tools: 1 in 4 Runs Returned Wrong Data With No Error3 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 SameMCP 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 RetryA 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 Shard1,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.
newsletter
QA Ark Newsletter
Test automation, AI in testing and quality engineering practice. No spam, unsubscribe any time.