@@ -67,6 +67,7 @@ sentryTest(
6767 // Start buffering and assert that it is enabled
6868 expect (
6969 await page . evaluate ( ( ) => {
70+ // eslint-disable-next-line deprecation/deprecation
7071 const replayIntegration = ( window as unknown as Window & { Replay : InstanceType < typeof Replay > } ) . Replay ;
7172 // @ts -expect-error private
7273 const replay = replayIntegration . _replay ;
@@ -87,6 +88,7 @@ sentryTest(
8788 const [ req0 ] = await Promise . all ( [
8889 reqPromise0 ,
8990 page . evaluate ( async ( ) => {
91+ // eslint-disable-next-line deprecation/deprecation
9092 const replayIntegration = ( window as unknown as Window & { Replay : Replay } ) . Replay ;
9193 await replayIntegration . flush ( ) ;
9294 } ) ,
@@ -210,6 +212,7 @@ sentryTest(
210212 // Start buffering and assert that it is enabled
211213 expect (
212214 await page . evaluate ( ( ) => {
215+ // eslint-disable-next-line deprecation/deprecation
213216 const replayIntegration = ( window as unknown as Window & { Replay : InstanceType < typeof Replay > } ) . Replay ;
214217 // @ts -expect-error private
215218 const replay = replayIntegration . _replay ;
@@ -230,6 +233,7 @@ sentryTest(
230233 const [ req0 ] = await Promise . all ( [
231234 reqPromise0 ,
232235 page . evaluate ( async ( ) => {
236+ // eslint-disable-next-line deprecation/deprecation
233237 const replayIntegration = ( window as unknown as Window & { Replay : Replay } ) . Replay ;
234238 await replayIntegration . flush ( { continueRecording : false } ) ;
235239 } ) ,
@@ -324,6 +328,7 @@ sentryTest(
324328 // Start buffering and assert that it is enabled
325329 expect (
326330 await page . evaluate ( ( ) => {
331+ // eslint-disable-next-line deprecation/deprecation
327332 const replayIntegration = ( window as unknown as Window & { Replay : InstanceType < typeof Replay > } ) . Replay ;
328333 const replay = replayIntegration [ '_replay' ] ;
329334 replayIntegration . startBuffering ( ) ;
@@ -342,6 +347,7 @@ sentryTest(
342347 expect ( errorEvent0 . tags ?. replayId ) . toBeUndefined ( ) ;
343348
344349 await page . evaluate ( async ( ) => {
350+ // eslint-disable-next-line deprecation/deprecation
345351 const replayIntegration = ( window as unknown as Window & { Replay : Replay } ) . Replay ;
346352 replayIntegration [ '_replay' ] . getOptions ( ) . errorSampleRate = 1.0 ;
347353 } ) ;
0 commit comments