From 516f0c259ff3c438b7cf168c9e629dd27dca8970 Mon Sep 17 00:00:00 2001 From: Matiss Janis Aboltins <matiss@mja.lv> Date: Sat, 25 Nov 2023 14:34:24 +0000 Subject: [PATCH] :wrench: (vrt) make screenshot comparisons more strict (#1960) --- packages/desktop-client/playwright.config.js | 3 +++ upcoming-release-notes/1960.md | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 upcoming-release-notes/1960.md diff --git a/packages/desktop-client/playwright.config.js b/packages/desktop-client/playwright.config.js index 412a7ac28..91e007f8e 100644 --- a/packages/desktop-client/playwright.config.js +++ b/packages/desktop-client/playwright.config.js @@ -54,4 +54,7 @@ export default defineConfig({ trace: 'on-first-retry', ignoreHTTPSErrors: true, }, + expect: { + toHaveScreenshot: { maxDiffPixels: 5 }, + }, }); diff --git a/upcoming-release-notes/1960.md b/upcoming-release-notes/1960.md new file mode 100644 index 000000000..fdfb6c290 --- /dev/null +++ b/upcoming-release-notes/1960.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [MatissJanis] +--- + +Make screenshot comparisons more strict to improve reliability -- GitLab