From cc88c5089dacba0517e7b5761e379b61adeb4cbc Mon Sep 17 00:00:00 2001 From: Xon <635541+Xon@users.noreply.github.com> Date: Wed, 21 Aug 2024 23:17:36 +0800 Subject: [PATCH] Also export a json report for the e2e test --- playwright.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright.config.ts b/playwright.config.ts index 46b9265b..3ce4c781 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -24,7 +24,7 @@ const config: PlaywrightTestConfig = { /* Opt out of parallel tests on CI. */ workers: process.env.CI ? 1 : undefined, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ - reporter: process.env.CI ? 'dot' : 'list', + reporter: process.env.CI ? [['dot'], ['json']] : 'list', timeout: 2000, expect : { timeout: 500,