From f9eb6f525f2134e01922fca96cda5ddc8f9295a0 Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Wed, 10 May 2023 16:34:43 +0200 Subject: [PATCH] reduce max timeout --- .../suites/replay/throttleBreadcrumbs/test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/browser-integration-tests/suites/replay/throttleBreadcrumbs/test.ts b/packages/browser-integration-tests/suites/replay/throttleBreadcrumbs/test.ts index 75d208bd0936..f702d4e52150 100644 --- a/packages/browser-integration-tests/suites/replay/throttleBreadcrumbs/test.ts +++ b/packages/browser-integration-tests/suites/replay/throttleBreadcrumbs/test.ts @@ -84,7 +84,7 @@ sentryTest( await page.waitForFunction('window.__isLoaded()'); await forceFlushReplay(); - await waitForFunction(() => collectedBreadcrumbs.length === 1, 10_000, 100); + await waitForFunction(() => collectedBreadcrumbs.length === 1, 6_000, 100); // All assets have been _loaded_ expect(scriptsLoaded).toBe(COUNT); @@ -110,7 +110,7 @@ sentryTest( await page.waitForFunction('window.__isLoaded(2)'); await forceFlushReplay(); - await waitForFunction(() => collectedBreadcrumbs.length === 1, 10_000, 100); + await waitForFunction(() => collectedBreadcrumbs.length === 1, 6_000, 100); // All assets have been _loaded_ expect(scriptsLoaded).toBe(COUNT * 2);