@@ -45,19 +45,19 @@ sentryTest(
4545
4646 const text = 'test' ;
4747
48- await page . locator ( '#input' ) . type ( text ) ;
48+ await page . locator ( '#input' ) . fill ( text ) ;
4949 await forceFlushReplay ( ) ;
5050 const snapshots = getIncrementalRecordingSnapshots ( await reqPromise1 ) . filter ( isInputMutation ) ;
5151 const lastSnapshot = snapshots [ snapshots . length - 1 ] ;
5252 expect ( lastSnapshot . data . text ) . toBe ( text ) ;
5353
54- await page . locator ( '#input-masked' ) . type ( text ) ;
54+ await page . locator ( '#input-masked' ) . fill ( text ) ;
5555 await forceFlushReplay ( ) ;
5656 const snapshots2 = getIncrementalRecordingSnapshots ( await reqPromise2 ) . filter ( isInputMutation ) ;
5757 const lastSnapshot2 = snapshots2 [ snapshots2 . length - 1 ] ;
5858 expect ( lastSnapshot2 . data . text ) . toBe ( '*' . repeat ( text . length ) ) ;
5959
60- await page . locator ( '#input-ignore' ) . type ( text ) ;
60+ await page . locator ( '#input-ignore' ) . fill ( text ) ;
6161 await forceFlushReplay ( ) ;
6262 const snapshots3 = getIncrementalRecordingSnapshots ( await reqPromise3 ) . filter ( isInputMutation ) ;
6363 expect ( snapshots3 . length ) . toBe ( 0 ) ;
@@ -91,19 +91,19 @@ sentryTest(
9191 await reqPromise0 ;
9292
9393 const text = 'test' ;
94- await page . locator ( '#textarea' ) . type ( text ) ;
94+ await page . locator ( '#textarea' ) . fill ( text ) ;
9595 await forceFlushReplay ( ) ;
9696 const snapshots = getIncrementalRecordingSnapshots ( await reqPromise1 ) . filter ( isInputMutation ) ;
9797 const lastSnapshot = snapshots [ snapshots . length - 1 ] ;
9898 expect ( lastSnapshot . data . text ) . toBe ( text ) ;
9999
100- await page . locator ( '#textarea-masked' ) . type ( text ) ;
100+ await page . locator ( '#textarea-masked' ) . fill ( text ) ;
101101 await forceFlushReplay ( ) ;
102102 const snapshots2 = getIncrementalRecordingSnapshots ( await reqPromise2 ) . filter ( isInputMutation ) ;
103103 const lastSnapshot2 = snapshots2 [ snapshots2 . length - 1 ] ;
104104 expect ( lastSnapshot2 . data . text ) . toBe ( '*' . repeat ( text . length ) ) ;
105105
106- await page . locator ( '#textarea-ignore' ) . type ( text ) ;
106+ await page . locator ( '#textarea-ignore' ) . fill ( text ) ;
107107 await forceFlushReplay ( ) ;
108108 const snapshots3 = getIncrementalRecordingSnapshots ( await reqPromise3 ) . filter ( isInputMutation ) ;
109109 expect ( snapshots3 . length ) . toBe ( 0 ) ;
0 commit comments