Skip to content

Commit

Permalink
chore: update snapshot threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
Benehiko committed Sep 22, 2023
1 parent 27f2699 commit ed1b3b3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/nextjs-spa/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ export default defineConfig({
* For example in `await expect(locator).toHaveText();`
*/
timeout: 5000,
toHaveScreenshot: {
maxDiffPixelRatio: 0.02,
},
},
/* Run tests in files in parallel */
fullyParallel: true,
Expand Down
3 changes: 3 additions & 0 deletions examples/preact-spa/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ export default defineConfig({
* For example in `await expect(locator).toHaveText();`
*/
timeout: 5000,
toHaveScreenshot: {
maxDiffPixelRatio: 0.02,
},
},
/* Run tests in files in parallel */
fullyParallel: true,
Expand Down
3 changes: 3 additions & 0 deletions examples/react-spa/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ export default defineConfig({
* For example in `await expect(locator).toHaveText();`
*/
timeout: 5000,
toHaveScreenshot: {
maxDiffPixelRatio: 0.02,
},
},
/* Run tests in files in parallel */
fullyParallel: true,
Expand Down

0 comments on commit ed1b3b3

Please sign in to comment.