From b84e59b1d2a4a97f67835a5e5119c5798518be9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 24 May 2024 19:08:46 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Fine=20tune=20some=20test=20suit?= =?UTF-8?q?e=20parameters?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/playwright.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/playwright.config.js b/tests/playwright.config.js index 20d93d2..c0b2963 100644 --- a/tests/playwright.config.js +++ b/tests/playwright.config.js @@ -12,9 +12,9 @@ module.exports = defineConfig({ /* Retry on CI only */ retries: process.env.CI ? 2 : 0, /* Opt out of parallel tests on CI. */ - workers: process.env.CI ? 1 : undefined, + workers: process.env.CI ? 2 : undefined, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ - reporter: 'html', + reporter: [["list"], ["html"], ...(process.env.CI ? [["github"]] : [])], /* Screenshot settings */ snapshotPathTemplate: '{testDir}/screenshots/{testFilePath}/{testName}/{arg}{ext}',