Skip to content

Commit f4a2520

Browse files
committed
test: Fix flaky errorsInSession test
1 parent 73a1bbb commit f4a2520

File tree

1 file changed

+2
-0
lines changed
  • packages/integration-tests/suites/replay/errors/errorsInSession

1 file changed

+2
-0
lines changed

packages/integration-tests/suites/replay/errors/errorsInSession/test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ sentryTest(
7676
sentryTest.skip();
7777
}
7878

79+
const reqPromise0 = waitForReplayRequest(page, 0);
7980
const reqPromise1 = waitForReplayRequest(page, 1);
8081

8182
await page.route('https://dsn.ingest.sentry.io/**/*', route => {
@@ -90,6 +91,7 @@ sentryTest(
9091

9192
await page.goto(url);
9293
await page.click('#go-background');
94+
await reqPromise0;
9395

9496
await page.click('#drop');
9597
await page.click('#go-background');

0 commit comments

Comments
 (0)