Skip to content

Commit 5847efa

Browse files
committed
fix flakey test
1 parent cba6e81 commit 5847efa

File tree

1 file changed

+1
-2
lines changed
  • dev-packages/browser-integration-tests/suites/profiling/traceLifecycleMode_multiple-chunks

1 file changed

+1
-2
lines changed

dev-packages/browser-integration-tests/suites/profiling/traceLifecycleMode_multiple-chunks/test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,13 @@ sentryTest(
3333
}
3434

3535
const url = await getLocalTestUrl({ testDir: __dirname, responseHeaders: { 'Document-Policy': 'js-profiling' } });
36-
await page.goto(url);
3736

3837
// Expect at least 2 chunks because subject creates two separate root spans,
3938
// causing the profiler to stop and emit a chunk after each root span ends.
4039
const profileChunkEnvelopes = await getMultipleSentryEnvelopeRequests<ProfileChunkEnvelope>(
4140
page,
4241
2,
43-
{ envelopeType: 'profile_chunk', timeout: 5000 },
42+
{ url, envelopeType: 'profile_chunk', timeout: 5000 },
4443
properFullEnvelopeRequestParser,
4544
);
4645

0 commit comments

Comments
 (0)