Skip to content

Commit

Permalink
config more workers
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Aug 5, 2024
1 parent ebdd916 commit 25b94f1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ export default defineConfig({
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 ? "100%" : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: "html",
reporter: "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 All @@ -37,7 +36,6 @@ export default defineConfig({
name: "chromium",
use: { ...devices["Desktop Chrome"] },
},

{
name: "firefox",
use: { ...devices["Desktop Firefox"] },
Expand Down Expand Up @@ -68,6 +66,7 @@ export default defineConfig({
// use: { ...devices['Desktop Chrome'], channel: 'chrome' },
// },
],
outputDir: "test-results/",

/* Run your local dev server before starting the tests */
webServer: {
Expand Down

0 comments on commit 25b94f1

Please sign in to comment.