From 2016bcc7d3db6f0c5a7daa3f148b86bff7edc974 Mon Sep 17 00:00:00 2001 From: Daniel Lehr Date: Fri, 24 Nov 2023 11:37:14 +0100 Subject: [PATCH] snapshots --- packages/lib/playwright.config.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/lib/playwright.config.ts b/packages/lib/playwright.config.ts index 1fbd076..a40a870 100644 --- a/packages/lib/playwright.config.ts +++ b/packages/lib/playwright.config.ts @@ -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: [ {