M5: Debugging and visual (trace, breakpoints, visual comparison, ARIA snapshot) — v0.6.0 #8
Loading…
Reference in a new issue
No description provided.
Delete branch "akib/m5-debugging"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
M5: Debugging and visual (v0.6.0)
New
comparekeeps a baseline per block, with masks by locator or rectangle,thresholdandmaxDiffRatio. A difference fails withvisual.mismatchand keeps a diff image. "Accept new baseline" is in Reports. Exports totoHaveScreenshot. No new dependency (src/core/pixelDiff.ts).aria-snapshotwith Playwright-style partial templates. Exports totoMatchAriaSnapshot, which passes under realnpx playwright test.182cecd:runOnce(options),Host.debug,Host.trace) with unit tests, so each feature could be built separately.Verification (this machine)
npm run check: 1079 unit/DOM testsnpm run e2e: 343 checks in 28 specs, Chromium 156 (newm5-trace,m5-debugincl. the banner and header controls,m5-visual,m5-aria)npm run e2e:firefox: 52 checks, Firefox 159, now with visual comparison, trace, a debug pause and ARIA snapshotnpm run build,npm run build:firefoxNot done / not verified
🤖 Generated with Claude Code