File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/browser-integration-tests/suites/integrations/Breadcrumbs/dom/textInput Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,17 @@ sentryTest('captures Breadcrumb for events on inputs & debounced them', async ({
23
23
24
24
await page . goto ( url ) ;
25
25
26
- void page . click ( '#input1' ) ;
26
+ await page . click ( '#input1' ) ;
27
27
// Not debounced because other event type
28
- await page . type ( '#input1' , 'John' ) ;
28
+ await page . type ( '#input1' , 'John' , { delay : 0.01 } ) ;
29
29
// This should be debounced
30
- await page . type ( '#input1' , 'Abby' ) ;
30
+ await page . type ( '#input1' , 'Abby' , { delay : 0.01 } ) ;
31
31
// not debounced because other target
32
- await page . type ( '#input2' , 'Anne' ) ;
32
+ await page . type ( '#input2' , 'Anne' , { delay : 0.01 } ) ;
33
33
34
34
// Wait a second for the debounce to finish
35
35
await page . waitForTimeout ( 1000 ) ;
36
- await page . type ( '#input2' , 'John' ) ;
36
+ await page . type ( '#input2' , 'John' , { delay : 0.01 } ) ;
37
37
38
38
await page . evaluate ( 'Sentry.captureException("test exception")' ) ;
39
39
You can’t perform that action at this time.
0 commit comments