From 4bb62b34fc069a47f14075db88976e18b14402f3 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Fri, 15 Sep 2023 08:00:53 +0200 Subject: [PATCH 1/2] Enable the Playwright trace --- ui-tests/playwright.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-tests/playwright.config.ts b/ui-tests/playwright.config.ts index 7975faa90a..b8a532a9ff 100644 --- a/ui-tests/playwright.config.ts +++ b/ui-tests/playwright.config.ts @@ -4,6 +4,7 @@ module.exports = { ...baseConfig, use: { appPath: '', + trace: 'retain-on-failure', video: 'retain-on-failure', }, retries: 1, From 0efd1f1b8dd0250dab39783230b5dfc28c9487a1 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Fri, 15 Sep 2023 08:02:00 +0200 Subject: [PATCH 2/2] Switch to `'on-first-retry'` --- ui-tests/playwright.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-tests/playwright.config.ts b/ui-tests/playwright.config.ts index b8a532a9ff..009174bfb3 100644 --- a/ui-tests/playwright.config.ts +++ b/ui-tests/playwright.config.ts @@ -4,7 +4,7 @@ module.exports = { ...baseConfig, use: { appPath: '', - trace: 'retain-on-failure', + trace: 'on-first-retry', video: 'retain-on-failure', }, retries: 1,