Skip to content

Commit

Permalink
Increase playwright test timeout on CI (test running out of time duri…
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwillchen committed Dec 18, 2023
1 parent 394798e commit 0dda350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {defineConfig, devices} from '@playwright/test';
* See https://playwright.dev/docs/test-configuration.
*/
export default defineConfig({
timeout: 5000,
timeout: process.env.CI ? 10000 : 5000, // Budget more time for CI since tests run slower there.
testDir: '.',
testMatch: 'e2e/*_test.ts',
testIgnore: 'scripts/**',
Expand Down

0 comments on commit 0dda350

Please sign in to comment.