Skip to content

AI-native design editor. Open-source Figma alternative.

test(canvas): align visual oracles with ruler-free fixtures

Danila Poyarkovae5b8c6c044f
diff --git a/tests/e2e/canvas/arrow-caps-visual.spec.ts-snapshots/arrow-stroke-caps-openpencil-darwin.png b/tests/e2e/canvas/arrow-caps-visual.spec.ts-snapshots/arrow-stroke-caps-openpencil-darwin.png
index 723c90ce7..ac0e58add 100644
Binary files a/tests/e2e/canvas/arrow-caps-visual.spec.ts-snapshots/arrow-stroke-caps-openpencil-darwin.png and b/tests/e2e/canvas/arrow-caps-visual.spec.ts-snapshots/arrow-stroke-caps-openpencil-darwin.png differ
diff --git a/tests/e2e/canvas/tiled-large-blur-visual.spec.ts b/tests/e2e/canvas/tiled-large-blur-visual.spec.ts
index 89e952fbc..e57da7bdc 100644
--- a/tests/e2e/canvas/tiled-large-blur-visual.spec.ts
+++ b/tests/e2e/canvas/tiled-large-blur-visual.spec.ts
@@ -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')
})
diff --git a/tests/e2e/canvas/tiled-large-blur-visual.spec.ts-snapshots/tiled-large-blur-mutation-settled-openpencil-darwin.png b/tests/e2e/canvas/tiled-large-blur-visual.spec.ts-snapshots/tiled-large-blur-mutation-settled-openpencil-darwin.png
index 3f5f7cb1c..f6ddcc7ca 100644
Binary files a/tests/e2e/canvas/tiled-large-blur-visual.spec.ts-snapshots/tiled-large-blur-mutation-settled-openpencil-darwin.png and b/tests/e2e/canvas/tiled-large-blur-visual.spec.ts-snapshots/tiled-large-blur-mutation-settled-openpencil-darwin.png differ