Skip to content

Commit

Permalink
reduce max timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mydea committed May 10, 2023
1 parent 433da18 commit f9eb6f5
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit f9eb6f5

Please sign in to comment.