@@ -11,16 +11,6 @@ interface Tag {
1111} 
1212
1313test ( 'Sends two linked transactions (server & client) to Sentry' ,  async  ( {  page } ,  testInfo )  =>  { 
14-   // this warm up turned out to be needed when using 'beforeSendTransaction' the trick (see 
15-   // the Sentry init setup in `entry.server.ts`); after this we can navigate to any route and 
16-   // be sure that the transaction events are being dumped to disk as expected; 
17-   // 
18-   // note, that to perform this "warp up" we could actually navigate to any other route including 
19-   // non-existant, but going to non-existant will pollute the console with something like 
20-   // ' Error: No route matches URL "/whatever"', which will _not_ prevent the test from passing 
21-   // but simply not very pleasant. 
22-   await  page . goto ( "/navigate" ) ; 
23- 
2414  // We will be utilizing `testId` provided by the test runner to correlate 
2515  // this test instance with the events we are going to send to Sentry. 
2616  // See `Sentry.setTag` in `app/routes/_index.tsx`. 
@@ -72,7 +62,7 @@ test('Sends two linked transactions (server & client) to Sentry', async ({ page
7262  await  expect . poll ( async  ( )  =>  { 
7363    const  files  =  await  readEventsDir ( ) ; 
7464    if  ( files . length  !==  0 )  { 
75-       serverEventIds  =  files . map ( f  =>  path . basename ( f ,  ".json " ) ) ; 
65+       serverEventIds  =  files . map ( f  =>  path . basename ( f ,  ".txt " ) ) ; 
7666      return  true ; 
7767    } 
7868    return  false ; 
0 commit comments