diff --git a/playwright.config.ts b/playwright.config.ts index 6e37493..4172f7d 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -12,7 +12,7 @@ import { defineConfig, devices } from '@playwright/test'; */ export default defineConfig({ testDir: './specs', - /** Timeout for a test */ + /* Timeout for a test */ timeout: 360000, /* Run tests in files in parallel */ fullyParallel: true, @@ -23,7 +23,8 @@ export default defineConfig({ /* Opt out of parallel tests on CI. */ workers: process.env.CI ? 1 : undefined, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ - reporter: 'html', + /* list for CI, default 'html' when running locally */ + reporter: process.env.CI ? 'list' : 'html', /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: { /* Base URL to use in actions like `await page.goto('/')`. */