Skip to content

Commit c5b9473

Browse files
committed
chore: udpate playwright config
1 parent bbb31a4 commit c5b9473

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

playwright.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ module.exports = {
1212
fullyParallel: false,
1313
forbidOnly: !isCI,
1414
retries: isCI ? MAX_RETRIES : 0,
15+
expect: {
16+
toHaveScreenshot: {
17+
maxDiffPixelRatio: 0.1,
18+
}
19+
},
1520
workers: 1,
1621
reporter: isCI ? "github" : "list",
1722
use: {

0 commit comments

Comments
 (0)