Skip to content

Commit cdccde2

Browse files
committed
Remove unnecessary click
1 parent 330ba31 commit cdccde2

File tree

1 file changed

+0
-13
lines changed
  • dev-packages/browser-integration-tests/suites/integrations/Breadcrumbs/dom/textInput

1 file changed

+0
-13
lines changed

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

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

2424
await page.goto(url);
2525

26-
await page.locator('#input1').click();
2726
// Not debounced because other event type
2827
await page.locator('#input1').pressSequentially('John', { delay: 1 });
2928

@@ -44,11 +43,6 @@ sentryTest('captures Breadcrumb for events on inputs & debounced them', async ({
4443
expect(eventData.exception?.values).toHaveLength(1);
4544

4645
expect(eventData.breadcrumbs).toEqual([
47-
{
48-
timestamp: expect.any(Number),
49-
category: 'ui.click',
50-
message: 'body > input#input1[type="text"]',
51-
},
5246
{
5347
timestamp: expect.any(Number),
5448
category: 'ui.input',
@@ -88,20 +82,13 @@ sentryTest(
8882

8983
await page.goto(url);
9084

91-
await page.locator('#annotated-input').click();
9285
await page.locator('#annotated-input').pressSequentially('John', { delay: 1 });
9386

9487
await page.evaluate('Sentry.captureException("test exception")');
9588
const eventData = await promise;
9689
expect(eventData.exception?.values).toHaveLength(1);
9790

9891
expect(eventData.breadcrumbs).toEqual([
99-
{
100-
timestamp: expect.any(Number),
101-
category: 'ui.click',
102-
message: 'body > AnnotatedInput',
103-
data: { 'ui.component_name': 'AnnotatedInput' },
104-
},
10592
{
10693
timestamp: expect.any(Number),
10794
category: 'ui.input',

0 commit comments

Comments
 (0)