File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/integration-tests/suites/replay/privacyInput Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,10 @@ sentryTest('should mask input initial value and its changes', async ({ getLocalT
4242 page . on ( 'console' , message => console . log ( message . text ( ) ) )
4343 await page . locator ( '#input' ) . type ( text , { timeout : 5000 } ) ;
4444 await forceFlushReplay ( ) ;
45- const snapshots = getIncrementalRecordingSnapshots ( await reqPromise1 ) . filter ( isInputMutation ) ;
45+ const allSnapshots = getIncrementalRecordingSnapshots ( await reqPromise1 ) ;
46+ const snapshots = allSnapshots . filter ( isInputMutation ) ;
4647 const lastSnapshot = snapshots [ snapshots . length - 1 ] ;
48+ console . log ( allSnapshots )
4749 expect ( lastSnapshot . text ) . toBe ( text ) ;
4850
4951 await page . locator ( '#input-masked' ) . type ( text , { timeout : 5000 } ) ;
You can’t perform that action at this time.
0 commit comments