Skip to content

Commit 9538e30

Browse files
committed
add maxDiffPixels in playwright config
1 parent 18edd76 commit 9538e30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/playwright/playwright.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export default defineConfig({
6666
timeout: 30000,
6767

6868
expect: {
69-
timeout: 10000
69+
timeout: 10000,
70+
toHaveScreenshot: { maxDiffPixels: 100 }
7071
}
7172
})

0 commit comments

Comments
 (0)