Skip to content

Commit 610585c

Browse files
committed
adjust a test
1 parent 477128e commit 610585c

File tree

1 file changed

+1
-1
lines changed
  • dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-browser-spans

1 file changed

+1
-1
lines changed

dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-browser-spans/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sentryTest('should add browser-related spans to pageload transaction', async ({
1212
const url = await getLocalTestPath({ testDir: __dirname });
1313

1414
const eventData = await getFirstSentryEnvelopeRequest<Event>(page, url);
15-
const browserSpans = eventData.spans?.filter(({ op }) => op === 'browser');
15+
const browserSpans = eventData.spans?.filter(({ op }) => op?.startsWith('browser'));
1616

1717
// Spans `domContentLoadedEvent`, `connect`, `cache` and `DNS` are not
1818
// always inside `pageload` transaction.

0 commit comments

Comments
 (0)