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
42
42
page . on ( 'console' , message => console . log ( message . text ( ) ) )
43
43
await page . locator ( '#input' ) . type ( text , { timeout : 5000 } ) ;
44
44
await forceFlushReplay ( ) ;
45
- const snapshots = getIncrementalRecordingSnapshots ( await reqPromise1 ) . filter ( isInputMutation ) ;
45
+ const allSnapshots = getIncrementalRecordingSnapshots ( await reqPromise1 ) ;
46
+ const snapshots = allSnapshots . filter ( isInputMutation ) ;
46
47
const lastSnapshot = snapshots [ snapshots . length - 1 ] ;
48
+ console . log ( allSnapshots )
47
49
expect ( lastSnapshot . text ) . toBe ( text ) ;
48
50
49
51
await page . locator ( '#input-masked' ) . type ( text , { timeout : 5000 } ) ;
You can’t perform that action at this time.
0 commit comments