Skip to content

Commit 59e61ca

Browse files
committed
fix tests?
1 parent 5129766 commit 59e61ca

File tree

2 files changed

+7
-3
lines changed
  • packages/browser-integration-tests/suites/integrations/Breadcrumbs/dom

2 files changed

+7
-3
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ sentryTest('captures Breadcrumb for clicks & debounces them for a second', async
1919
});
2020
});
2121

22-
const promise = getFirstSentryEnvelopeRequest<Event>(page, url);
22+
const promise = getFirstSentryEnvelopeRequest<Event>(page);
23+
24+
await page.goto(url);
2325

2426
await page.click('#button1');
2527
// not debounced because other target

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ sentryTest('captures Breadcrumb for events on inputs & debounced them', async ({
1919
});
2020
});
2121

22-
const promise = getFirstSentryEnvelopeRequest<Event>(page, url);
22+
const promise = getFirstSentryEnvelopeRequest<Event>(page);
2323

24-
await page.click('#input1');
24+
await page.goto(url);
25+
26+
void page.click('#input1');
2527
// Not debounced because other event type
2628
await page.type('#input1', 'John');
2729
// This should be debounced

0 commit comments

Comments
 (0)