Skip to content

Commit 126a5e4

Browse files
committed
more debugging
1 parent c4f83fd commit 126a5e4

File tree

1 file changed

+3
-1
lines changed
  • packages/integration-tests/suites/replay/privacyInput

1 file changed

+3
-1
lines changed

packages/integration-tests/suites/replay/privacyInput/test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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 });

0 commit comments

Comments
 (0)