diff --git a/playwright.config.ts b/playwright.config.ts index 4c50fc26..8dc3db4c 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -25,9 +25,9 @@ const config: PlaywrightTestConfig = { workers: process.env.CI ? 1 : undefined, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: process.env.CI ? [['dot'], ['blob']] : 'line', - timeout: 2000, + timeout: process.env.CI ? 5000 : 1000, expect : { - timeout: 500, + timeout: process.env.CI ? 1000 : 500, }, /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: {