$ npx playwright test --project=gary-parker
- playwright-smart-reporter142,410 downloads/mo · 92 stars
- playwright-affected1,416 downloads/mo · 7 stars
- tracescrub625 downloads/mo
- tracediff466 downloads/mo
- playwright-shard-balancer296 downloads/mo
- playwright-release-notes-examples38 stars
6 passed145,213npm 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 →- Reading a Mutation Report: 176 Mutants ufo's Tests MissedStrykerJS on unjs/ufo: 1011 mutants, 82.59% on two runs. What Survived, NoCoverage and Timeout mean, where to look first, and which survivors are worth a test.
- 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%.
experiments
view all →- 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.
newsletter
QA Ark Newsletter
Test automation, AI in testing and quality engineering practice. No spam, unsubscribe any time.