Skip to content

Commit

Permalink
Ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
mskelton committed Jan 14, 2024
1 parent 3e83b40 commit 659f611
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ import { fileURLToPath } from "node:url"
expect.extend(axeMatchers)

export default defineConfig({
expect: {
toHaveScreenshot: {
maxDiffPixelRatio: 0.25,
},
},
forbidOnly: !!process.env.CI,
fullyParallel: true,
reporter: process.env.CI ? "dot" : "list",
Expand Down

0 comments on commit 659f611

Please sign in to comment.