Skip to content

Commit 77e519c

Browse files
authored
test: use github reporter (#728)
1 parent dbda18b commit 77e519c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

playwright.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ const config: PlaywrightTestConfig = {
1717
},
1818
workers: '100%',
1919
retries: 1,
20+
// 'github' for GitHub Actions CI to generate annotations, plus a concise 'dot'
21+
// default 'list' when running locally
22+
// See https://playwright.dev/docs/test-reporters#github-actions-annotations
23+
reporter: process.env.CI ? 'github' : 'list',
2024
};
2125

2226
if (process.env.CI) {

0 commit comments

Comments
 (0)