From 0cbc3487b068172924efa9aef7c5fe1c5e592c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bel=C3=A9n=20Albeza?= Date: Wed, 19 Jun 2024 16:09:09 +0200 Subject: [PATCH] :wrench: Tweak the pixel diff ratio of playwright --- frontend/playwright.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/playwright.config.js b/frontend/playwright.config.js index 646795fd2..6196826df 100644 --- a/frontend/playwright.config.js +++ b/frontend/playwright.config.js @@ -48,7 +48,7 @@ export default defineConfig({ use: { ...devices["Desktop Chrome"] }, testDir: "./playwright/ui/visual-specs", expect: { - toHaveScreenshot: { maxDiffPixelRatio: 0.01 }, + toHaveScreenshot: { maxDiffPixelRatio: 0.005 }, }, }, ],