From bcc60d2dd79f067fb51602b2c711fb86c1daeeeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sim=C3=A3o=20s=C3=A1?= Date: Wed, 9 Aug 2023 12:14:17 +0100 Subject: [PATCH 1/2] added extra configuration for empty errors --- tests/frontend/e2e/jest-puppeteer.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/frontend/e2e/jest-puppeteer.config.js b/tests/frontend/e2e/jest-puppeteer.config.js index c24604c9..73960f88 100644 --- a/tests/frontend/e2e/jest-puppeteer.config.js +++ b/tests/frontend/e2e/jest-puppeteer.config.js @@ -7,4 +7,5 @@ module.exports = { }, timeout: 120000 }, + exitOnPageError: false, } \ No newline at end of file From 32763b2cb267d6e5bed3e8b0f34b8a1babfe13ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sim=C3=A3o=20s=C3=A1?= Date: Wed, 9 Aug 2023 12:14:39 +0100 Subject: [PATCH 2/2] increased failure threshold to be consistent with the other tests --- tests/frontend/e2e/tests/Tut#3c_smoke.test.js | 2 +- tests/frontend/e2e/tests/Tut#4_smoke.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/frontend/e2e/tests/Tut#3c_smoke.test.js b/tests/frontend/e2e/tests/Tut#3c_smoke.test.js index 40723a45..dd9405bc 100644 --- a/tests/frontend/e2e/tests/Tut#3c_smoke.test.js +++ b/tests/frontend/e2e/tests/Tut#3c_smoke.test.js @@ -19,7 +19,7 @@ const SNAPSHOT_OPTIONS = { customSnapshotsDir: `./tests/snapshots/${scriptName}`, comparisonMethod: 'ssim', failureThresholdType: 'percent', - failureThreshold: 0.3 + failureThreshold: 0.5 }; diff --git a/tests/frontend/e2e/tests/Tut#4_smoke.test.js b/tests/frontend/e2e/tests/Tut#4_smoke.test.js index b569b038..35bd8b94 100644 --- a/tests/frontend/e2e/tests/Tut#4_smoke.test.js +++ b/tests/frontend/e2e/tests/Tut#4_smoke.test.js @@ -18,7 +18,7 @@ const SNAPSHOT_OPTIONS = { customSnapshotsDir: `./tests/snapshots/${scriptName}`, comparisonMethod: 'ssim', failureThresholdType: 'percent', - failureThreshold: 0.3 + failureThreshold: 0.5 };