Skip to content

Commit b3d5199

Browse files
committed
fix test
1 parent c0f7701 commit b3d5199

File tree

1 file changed

+5
-5
lines changed
  • packages/browser-integration-tests/suites/integrations/Breadcrumbs/dom/textInput

1 file changed

+5
-5
lines changed

packages/browser-integration-tests/suites/integrations/Breadcrumbs/dom/textInput/test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ sentryTest('captures Breadcrumb for events on inputs & debounced them', async ({
2323

2424
await page.goto(url);
2525

26-
void page.click('#input1');
26+
await page.click('#input1');
2727
// Not debounced because other event type
28-
await page.type('#input1', 'John');
28+
await page.type('#input1', 'John', { delay: 0.01 });
2929
// This should be debounced
30-
await page.type('#input1', 'Abby');
30+
await page.type('#input1', 'Abby', { delay: 0.01 });
3131
// not debounced because other target
32-
await page.type('#input2', 'Anne');
32+
await page.type('#input2', 'Anne', { delay: 0.01 });
3333

3434
// Wait a second for the debounce to finish
3535
await page.waitForTimeout(1000);
36-
await page.type('#input2', 'John');
36+
await page.type('#input2', 'John', { delay: 0.01 });
3737

3838
await page.evaluate('Sentry.captureException("test exception")');
3939

0 commit comments

Comments
 (0)