mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🔧 Tweak the pixel diff ratio of playwright
This commit is contained in:
@@ -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 },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user