test(e2e): update all images and grow snapshot comparaison sensitivity
@@ -34,7 +34,7 @@ jobs:
|
|||||||
run: npx playwright install --with-deps
|
run: npx playwright install --with-deps
|
||||||
|
|
||||||
- name: Update snapshots
|
- name: Update snapshots
|
||||||
run: npm test -- --update-snapshots
|
run: npm test -- --update-snapshots=all
|
||||||
env:
|
env:
|
||||||
BUILD_TARGET: release
|
BUILD_TARGET: release
|
||||||
|
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ front-test:
|
|||||||
|
|
||||||
# update images snapshots
|
# update images snapshots
|
||||||
front-test-update-snapshot:
|
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)
|
# Hurl API functional tests (starts postgres + server, tears down after)
|
||||||
api-test:
|
api-test:
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
|
|
||||||
expect: {
|
expect: {
|
||||||
toHaveScreenshot: { maxDiffPixelRatio: 0.02 },
|
toHaveScreenshot: { maxDiffPixelRatio: 0.01 },
|
||||||
},
|
},
|
||||||
|
|
||||||
projects: [
|
projects: [
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 97 KiB |
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 62 KiB |