We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 216aaeb commit 2c3a27fCopy full SHA for 2c3a27f
dev-packages/browser-integration-tests/suites/tracing/metrics/handlers-lcp/test.ts
@@ -15,15 +15,17 @@ sentryTest(
15
sentryTest.skip();
16
}
17
18
+ page.route('**', route => route.continue());
19
await page.route('**/path/to/image.png', (route: Route) =>
20
route.fulfill({ path: `${__dirname}/assets/sentry-logo-600x179.png` }),
21
);
22
23
const url = await getLocalTestPath({ testDir: __dirname });
24
+
25
const [eventData] = await Promise.all([
26
getFirstSentryEnvelopeRequest<Event>(page),
27
page.goto(url),
- page.click('button'),
28
+ page.locator('button').click(),
29
]);
30
31
expect(eventData.measurements).toBeDefined();
0 commit comments