From eddba3a6264866e536fd7e039c1f41f134cd8e96 Mon Sep 17 00:00:00 2001 From: danilo neves cruz Date: Wed, 20 Mar 2024 17:02:18 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20playwright:=20save=20screenshot?= =?UTF-8?q?=20on=20failure?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playwright.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/playwright.config.ts b/playwright.config.ts index bb0c85e1b..1f6902696 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -21,6 +21,7 @@ const config: PlaywrightTestConfig = { headless: true, actionTimeout: 0, baseURL: 'http://localhost:3000', + screenshot: 'only-on-failure', trace: 'on-first-retry', }, projects: [