0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00

🔧 Tweak the pixel diff ratio of playwright

This commit is contained in:
Belén Albeza 2024-06-19 16:09:09 +02:00
parent 978ac68474
commit 0cbc3487b0

View file

@ -48,7 +48,7 @@ export default defineConfig({
use: { ...devices["Desktop Chrome"] }, use: { ...devices["Desktop Chrome"] },
testDir: "./playwright/ui/visual-specs", testDir: "./playwright/ui/visual-specs",
expect: { expect: {
toHaveScreenshot: { maxDiffPixelRatio: 0.01 }, toHaveScreenshot: { maxDiffPixelRatio: 0.005 },
}, },
}, },
], ],