Skip to content

Commit 563a89b

Browse files
committed
debug
1 parent 216437e commit 563a89b

File tree

1 file changed

+2
-0
lines changed
  • dev-packages/browser-integration-tests/suites/tracing/metrics/web-vitals-lcp

1 file changed

+2
-0
lines changed

dev-packages/browser-integration-tests/suites/tracing/metrics/web-vitals-lcp/test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ sentryTest('should capture a LCP vital with element details.', async ({ browserN
2525
}),
2626
]);
2727

28+
console.log(eventData.contexts?.trace);
29+
expect(eventData.contexts?.trace?.data?.['lcp.element']).toBe('body > img');
2830
await page.locator('button').click();
2931

3032
expect(eventData.measurements).toBeDefined();

0 commit comments

Comments
 (0)