Skip to content

Commit

Permalink
playwright.config.ts reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikMatiasko committed Aug 7, 2024
1 parent 54106c0 commit f408237
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ 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',
reporter: [
['html', {
open: 'never',
}],
process.env.CI ? ['github'] : ['line'],
],
/* 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('/')`. */
Expand Down

0 comments on commit f408237

Please sign in to comment.