Skip to content

Commit

Permalink
Add timeout option to playwright.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
genu committed Feb 25, 2024
1 parent 330291f commit 53398ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defineConfig, devices } from '@playwright/test'

export default defineConfig({
testDir: './tests',

fullyParallel: false,
forbidOnly: !!process.env.CI,
retries: 1,
Expand All @@ -27,5 +28,6 @@ export default defineConfig({
command: 'pnpm test:ci',
url: 'http://localhost:3001',
reuseExistingServer: !process.env.CI,
timeout: 300000, // 5 minutes
},
})

0 comments on commit 53398ef

Please sign in to comment.