$ npx playwright test --project=gary-parker
- playwright-smart-reporter142,410 downloads/mo · 92 stars
- playwright-affected1,385 downloads/mo · 7 stars
- tracescrub625 downloads/mo
- tracediff466 downloads/mo
- playwright-shard-balancer290 downloads/mo
- playwright-release-notes-examples38 stars
6 passed145,176npm downloads/mo · 137 stars
Gary Parker
Staff Quality Engineer: test infrastructure and AI in QE
Quality engineering for teams shipping with AI: I build open-source Playwright tooling and write up experiments with measured results.
writing
view all →- 100% Coverage, 18% Mutation Score: What Coverage Doesn't CheckThree test suites, one module, 100% line and branch coverage each. Their mutation scores: 18.42%, 34.21% and 100%. What each suite let through, and how to measure yours.
- Sharing Playwright Traces Safely: One Sign-in, 7 Copies of the PasswordOne sign-in test left the password in its Playwright trace 7 times. What traces, reports, HAR and storageState files hold, and what tracescrub removes before you share them.
- 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.
experiments
view all →- 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.
- 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.
newsletter
QA Ark Newsletter
Test automation, AI in testing and quality engineering practice. No spam, unsubscribe any time.