Skip to content

Commit

Permalink
snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-lee committed Nov 24, 2023
1 parent dfd1e83 commit 2016bcc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/lib/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ export default defineConfig({
baseURL: `http://127.0.0.1:${port}`,
trace: 'on-first-retry',
},
//
expect: {
timeout: 10000,
toMatchSnapshot: {
maxDiffPixels: 5,
},
},
snapshotPathTemplate: '{testDir}/__screenshots__/{testFilePath}/{arg}{ext}',
projects: [
{
Expand Down

0 comments on commit 2016bcc

Please sign in to comment.