From b72eb927e36524c2201cfe4301fba000708232a1 Mon Sep 17 00:00:00 2001 From: Adam Obuchowicz Date: Wed, 8 Jan 2025 10:36:52 +0100 Subject: [PATCH] Increase package tests' timeout on expectations after loading a new page. (#12005) The package tests started failing randomly, because loading initial screen started taking more than 5 seconds. The investigation is still in progress, but this is to not block innocent PRs. --- app/ide-desktop/client/playwright.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/ide-desktop/client/playwright.config.ts b/app/ide-desktop/client/playwright.config.ts index 3db9cbe30a41..573658ef7c3f 100644 --- a/app/ide-desktop/client/playwright.config.ts +++ b/app/ide-desktop/client/playwright.config.ts @@ -5,11 +5,11 @@ export default defineConfig({ testDir: './tests', forbidOnly: !!process.env.CI, workers: 1, - timeout: 120000, + timeout: 180000, reportSlowTests: { max: 5, threshold: 60000 }, globalSetup: './tests/setup.ts', expect: { - timeout: 5000, + timeout: 30000, toHaveScreenshot: { threshold: 0 }, }, use: {