File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
dev-packages/browser-integration-tests/suites/profiling/legacyMode Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import { properEnvelopeRequestParser, waitForTransactionRequestOnUrl } from '../
5
5
6
6
sentryTest ( 'does not send profile envelope when document-policy is not set' , async ( { page, getLocalTestUrl } ) => {
7
7
const url = await getLocalTestUrl ( { testDir : __dirname } ) ;
8
- await page . goto ( url ) ;
9
8
10
9
const req = await waitForTransactionRequestOnUrl ( page , url ) ;
11
10
const transactionEvent = properEnvelopeRequestParser < Event > ( req , 0 ) ;
@@ -18,7 +17,6 @@ sentryTest('does not send profile envelope when document-policy is not set', asy
18
17
19
18
sentryTest ( 'sends profile envelope in legacy mode' , async ( { page, getLocalTestUrl } ) => {
20
19
const url = await getLocalTestUrl ( { testDir : __dirname , responseHeaders : { 'Document-Policy' : 'js-profiling' } } ) ;
21
- await page . goto ( url ) ;
22
20
23
21
const req = await waitForTransactionRequestOnUrl ( page , url ) ;
24
22
const profileEvent = properEnvelopeRequestParser < Profile > ( req , 1 ) ;
You can’t perform that action at this time.
0 commit comments