From 0dd841fb32acabb7c6533fed206a51291c258d19 Mon Sep 17 00:00:00 2001 From: Matiss Janis Aboltins Date: Wed, 22 Nov 2023 22:50:21 +0000 Subject: [PATCH] :wrench: (vrt) make screenshot comparisons more strict --- packages/desktop-client/playwright.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/desktop-client/playwright.config.js b/packages/desktop-client/playwright.config.js index 412a7ac28f8..91e007f8e64 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 }, + }, });