$ npx playwright test --project=gary-parker
- playwright-smart-reporter146,683 downloads/mo · 92 stars
- playwright-affected1,382 downloads/mo · 7 stars
- tracescrub619 downloads/mo
- tracediff455 downloads/mo
- playwright-shard-balancer291 downloads/mo
- playwright-release-notes-examples38 stars
6 passed149,430npm 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 →- Running Only the Affected Playwright Tests on a Pull Request: 4 Bugs That Exited 0--only-changed and playwright-affected on 8 seeded pull requests. --only-changed caught 13 of 27 broken tests, and 4 bugs passed with exit 0. The map caught 27 of 27 and ran 67 of 96 tests.
- 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.
experiments
view all →- 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.
- 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.
newsletter
QA Ark Newsletter
Test automation, AI in testing and quality engineering practice. No spam, unsubscribe any time.