Skip to content

Commit

Permalink
Adjust test configuration GitHub Actions to minimize crashes.
Browse files Browse the repository at this point in the history
  • Loading branch information
amyjko committed Dec 1, 2024
1 parent c1aa13a commit 291356d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ import { defineConfig, devices } from '@playwright/test';
*/
export default defineConfig({
testDir: './tests/end2end',
/* Run tests in files in parallel */
fullyParallel: true,
/* Run tests in files in parallel unless on CI */
fullyParallel: !process.env.CI,
/* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: !!process.env.CI,
/* Retry on CI only */
retries: process.env.CI ? 2 : 0,
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
workers: process.env.CI ? 2 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: 'html',
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
Expand Down

0 comments on commit 291356d

Please sign in to comment.