From d5963bf1390b3af218abe2c95cbf1c10ba3bb8bd Mon Sep 17 00:00:00 2001 From: Rich Hong Date: Fri, 24 May 2024 16:20:32 -0400 Subject: [PATCH] Use Playwright github reporter in CI (#89) --- playwright.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/playwright.config.ts b/playwright.config.ts index 19fac6a..6a65db0 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -29,7 +29,9 @@ const config: PlaywrightTestConfig = { /* Opt out of parallel tests on CI. */ workers: process.env.CI ? 1 : 3, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ - reporter: 'list', + // 'github' for GitHub Actions CI to generate annotations, plus a concise 'dot' + // default 'list' when running locally + reporter: process.env.CI ? 'github' : 'list', /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: { /* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */