File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed 
packages/browser-integration-tests/suites/replay/dsc Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,19 @@ sentryTest(
5454      sentryTest . skip ( ) ; 
5555    } 
5656
57+     await  page . route ( 'https://dsn.ingest.sentry.io/**/*' ,  route  =>  { 
58+       return  route . fulfill ( { 
59+         status : 200 , 
60+         contentType : 'application/json' , 
61+         body : JSON . stringify ( {  id : 'test-id'  } ) , 
62+       } ) ; 
63+     } ) ; 
64+ 
5765    const  url  =  await  getLocalTestPath ( {  testDir : __dirname  } ) ; 
5866    await  page . goto ( url ) ; 
5967
60-     await  page . evaluate ( ( )  =>  { 
61-       void  ( window  as  unknown  as  TestWindow ) . Replay . stop ( ) ; 
68+     await  page . evaluate ( async   ( )  =>  { 
69+       await  ( window  as  unknown  as  TestWindow ) . Replay . stop ( ) ; 
6270
6371      ( window  as  unknown  as  TestWindow ) . Sentry . configureScope ( scope  =>  { 
6472        scope . setUser ( {  id : 'user123' ,  segment : 'segmentB'  } ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments