From 8bfdf0063a635baf65bdcd2fae1dc2b69ce52525 Mon Sep 17 00:00:00 2001 From: somebody1234 Date: Wed, 7 Feb 2024 01:52:03 +1000 Subject: [PATCH] Bump expect timeout and add retries for dashboard E2E tests (#8939) - Fix flaky dashboard E2E tests that occur because of timeouts # Important Notes None --- app/ide-desktop/lib/dashboard/playwright.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/ide-desktop/lib/dashboard/playwright.config.ts b/app/ide-desktop/lib/dashboard/playwright.config.ts index 5bfb4599081..1d4bebaf2f5 100644 --- a/app/ide-desktop/lib/dashboard/playwright.config.ts +++ b/app/ide-desktop/lib/dashboard/playwright.config.ts @@ -13,8 +13,10 @@ export default test.defineConfig({ fullyParallel: true, forbidOnly: true, workers: 1, + retries: 2, expect: { toHaveScreenshot: { threshold: 0 }, + timeout: 30_000, }, use: { baseURL: 'http://localhost:8080',