test(e2e): update all images and grow snapshot comparaison sensitivity

This commit is contained in:
Edouard Vanbelle
2026-05-27 11:34:47 +02:00
parent 891ff89a5d
commit 7ddbbc94cc
10 changed files with 3 additions and 3 deletions
@@ -34,7 +34,7 @@ jobs:
run: npx playwright install --with-deps
- name: Update snapshots
run: npm test -- --update-snapshots
run: npm test -- --update-snapshots=all
env:
BUILD_TARGET: release
+1 -1
View File
@@ -77,7 +77,7 @@ front-test:
# update images snapshots
front-test-update-snapshot:
cd tests/e2e && npm test -- --update-snapshots
cd tests/e2e && npm test -- --update-snapshots=all
# Hurl API functional tests (starts postgres + server, tears down after)
api-test:
+1 -1
View File
@@ -43,7 +43,7 @@ export default defineConfig({
},
expect: {
toHaveScreenshot: { maxDiffPixelRatio: 0.02 },
toHaveScreenshot: { maxDiffPixelRatio: 0.01 },
},
projects: [
Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 62 KiB