From 0dda3504e20376e5ed24940df1a64274a0d7c863 Mon Sep 17 00:00:00 2001 From: Will Chen Date: Mon, 18 Dec 2023 13:08:13 -0800 Subject: [PATCH] Increase playwright test timeout on CI (test running out of time during teardown, e.g. https://github.com/wwwillchen/mesop/actions/runs/7253027985/job/19758750378) --- playwright.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright.config.ts b/playwright.config.ts index aa870273b..dbf672b1a 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -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/**',