Skip to content

Commit 53c270c

Browse files
committed
test(browser): Fix flaky test
1 parent 1dffbbc commit 53c270c

File tree

1 file changed

+1
-0
lines changed
  • dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/pageloadWithChildSpanTimeout

1 file changed

+1
-0
lines changed

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/pageloadWithChildSpanTimeout/test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ sentryTest('should send a pageload span terminated via child span timeout', asyn
2121
const eventData = envelopeRequestParser(req);
2222

2323
expect(eventData.contexts?.trace?.op).toBe('pageload');
24+
expect(eventData.contexts?.trace?.data?.['sentry.idle_span_discarded_spans']).toBeUndefined();
2425
expect(eventData.spans?.length).toBeGreaterThanOrEqual(1);
2526
const testSpan = eventData.spans?.find(span => span.description === 'pageload-child-span');
2627
expect(testSpan).toBeDefined();

0 commit comments

Comments
 (0)