Skip to content

Commit 806c79c

Browse files
[CI] Use 'list' Playwright reporter
When running the tests locally, the current 'html' reporter is fine. But I've been confused with it in CI logs where there was a failure, presumably a silent retry and finally a report of the tests passing. I think in CI we would have more clarity with an alternate reporter. Let's try 'list'. If it does not work well we can fall-back on the simple 'dot'. Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
1 parent e9b07c5 commit 806c79c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playwright.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default defineConfig({
1414
/* Opt out of parallel tests on CI. */
1515
workers: process.env.CI ? 1 : undefined,
1616
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
17-
reporter: 'html',
17+
reporter: process.env.CI ? 'list' : 'html',
1818
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
1919
use: {
2020
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */

0 commit comments

Comments
 (0)