v31.73.1
Previous: v31.73.0
Compare: v31.73.0...v31.73.1
Commits
- 093948a (electrovir): [patch] bump patch version
- 598392f (Wadlo): [patch] make expectPlaywrightScreenshot fail on mismatch in CI (#16)
A failed screenshot comparison previously only threw when process.env.CI
was unset; in CI it silently rewrote the (ephemeral) baseline and passed,
so screenshot baselines were never enforced in CI. The condition was an
inverted check — it should throw in CI and only auto-write locally.
Fix the condition so a mismatch throws (writing expected/actual/diff debug
artifacts) when process.env.CI is set, and still auto-writes the baseline
on local runs. Add an e2e test that sets process.env.CI='true' and asserts
the mismatch throws.
Co-authored-by: Claude Opus 4.8 noreply@anthropic.com