Closed
Description
Flakiness Type
Assertion failure
Name of Job
Playwright (esm 2/3) Tests
Name of Test
[chromium] › tracing/metrics/handlers-lcp/test.ts:10:11 › should capture metrics for LCP instrumentation handlers
Link to Test Run
https://github.com/getsentry/sentry-javascript/actions/runs/8299500008/job/22715400142?pr=11134
Details
1) [chromium] › tracing/metrics/handlers-lcp/test.ts:10:11 › should capture metrics for LCP instrumentation handlers
Error: expect(received).toBe(expected) // Object.is equality
Expected: "body > img"
Received: "body > button[type=\"button\"]"
30 | expect(eventData.measurements?.lcp?.value).toBeDefined();
31 |
> 32 | expect(eventData.contexts?.trace?.data?.['lcp.element']).toBe('body > img');
| ^
33 | expect(eventData.contexts?.trace?.data?.['lcp.size']).toBe(107400);
34 | expect(eventData.contexts?.trace?.data?.['lcp.url']).toBe('https://example.com/path/to/image.png');
35 |
at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/metrics/handlers-lcp/test.ts:32:62