Skip to content

Commit 62ff26f

Browse files
committed
press
1 parent 55c3891 commit 62ff26f

File tree

1 file changed

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

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ 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-
await page.locator('#input').type(text, { delay: 25, timeout: 5000 });
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')
4448
console.log('input value: ', await page.locator('#input').inputValue());
4549
await forceFlushReplay();
4650
const allSnapshots = getIncrementalRecordingSnapshots(await reqPromise1);

0 commit comments

Comments
 (0)