Skip to content

Commit b078eea

Browse files
committed
remove goto url
1 parent 2a52c24 commit b078eea

File tree

1 file changed

+0
-2
lines changed
  • dev-packages/browser-integration-tests/suites/profiling/legacyMode

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { properEnvelopeRequestParser, waitForTransactionRequestOnUrl } from '../
55

66
sentryTest('does not send profile envelope when document-policy is not set', async ({ page, getLocalTestUrl }) => {
77
const url = await getLocalTestUrl({ testDir: __dirname });
8-
await page.goto(url);
98

109
const req = await waitForTransactionRequestOnUrl(page, url);
1110
const transactionEvent = properEnvelopeRequestParser<Event>(req, 0);
@@ -18,7 +17,6 @@ sentryTest('does not send profile envelope when document-policy is not set', asy
1817

1918
sentryTest('sends profile envelope in legacy mode', async ({ page, getLocalTestUrl }) => {
2019
const url = await getLocalTestUrl({ testDir: __dirname, responseHeaders: { 'Document-Policy': 'js-profiling' } });
21-
await page.goto(url);
2220

2321
const req = await waitForTransactionRequestOnUrl(page, url);
2422
const profileEvent = properEnvelopeRequestParser<Profile>(req, 1);

0 commit comments

Comments
 (0)