Skip to content

Commit ccd4bb9

Browse files
committed
go back to type
1 parent eb6bfa5 commit ccd4bb9

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,7 @@ sentryTest('should mask input initial value and its changes', async ({ getLocalT
4040
const text = 'test';
4141

4242
page.on('console', message => console.log(message.text()))
43-
const input = page.locator('#input');
44-
await input.press('t')
45-
await input.press('e')
46-
await input.press('s')
47-
await input.press('t')
43+
await page.locator('#input').type(text);
4844
console.log('input value: ', await page.locator('#input').inputValue());
4945
await forceFlushReplay();
5046
const allSnapshots = getIncrementalRecordingSnapshots(await reqPromise1);

packages/replay/src/coreHandlers/handleScope.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export function handleScope(scope: Scope): Breadcrumb | null {
4949
}
5050

5151
// eslint-disable-next-line
52-
console.log({newBreadcrumb})
52+
console.log(JSON.stringify(newBreadcrumb))
5353

5454
return createBreadcrumb(newBreadcrumb);
5555
}

0 commit comments

Comments
 (0)