test(canvas): align visual oracles with ruler-free fixtures
The stored arrow and blur images still included rulers despite explicit no-rulers fixtures. Inspect and update only these two oracles, preserving the arrow budget and exact settled reversal comparison. Check reversal parity before comparing the stored blur image so a stale oracle cannot hide that contract.
This commit is contained in:
parent
c59879105c
commit
ae5b8c6c04
Binary file not shown.
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 33 KiB |
|
|
@ -91,7 +91,6 @@ test('large blur remains seamless after tiled mutation and zoom reversal', async
|
|||
await waitForTiledSettlement()
|
||||
editor.canvas.assertNoErrors()
|
||||
const settledMutation = await editor.canvas.canvas.screenshot()
|
||||
expect(settledMutation).toMatchSnapshot('tiled-large-blur-mutation-settled.png')
|
||||
|
||||
await setLargeBlurRadius(200)
|
||||
await waitForTiledSettlement()
|
||||
|
|
@ -101,4 +100,5 @@ test('large blur remains seamless after tiled mutation and zoom reversal', async
|
|||
editor.canvas.assertNoErrors()
|
||||
const settledAfterReversal = await editor.canvas.canvas.screenshot()
|
||||
expect(settledAfterReversal.equals(settledMutation)).toBe(true)
|
||||
expect(settledMutation).toMatchSnapshot('tiled-large-blur-mutation-settled.png')
|
||||
})
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 415 KiB After Width: | Height: | Size: 398 KiB |
Loading…
Reference in a new issue