Skip to content

test(browser): port requests and web vitals to span streaming #3798

test(browser): port requests and web vitals to span streaming

test(browser): port requests and web vitals to span streaming #3798

Triggered via pull request October 9, 2026 08:49
Status Failure
Total duration 20m 15s
Artifacts –

flaky-test-detector.yml

on: pull_request
Check tests for flakiness
20m 9s
Check tests for flakiness
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 notice
Check tests for flakiness
Process completed with exit code 1.
[chromium] › suites/tracing/metrics/handlers-lcp/test.ts:14:11 › should capture metrics for LCP instrumentation handlers: dev-packages/browser-integration-tests/suites/tracing/metrics/handlers-lcp/test.ts#L30
1) [chromium] › suites/tracing/metrics/handlers-lcp/test.ts:14:11 › should capture metrics for LCP instrumentation handlers Error: page.waitForFunction: Test timeout of 30000ms exceeded. 28 | const lcpPromise = waitForStreamedSpan(page, span => getSpanOp(span) === 'ui.webvital.lcp'); 29 | await page.goto(url); > 30 | await page.waitForFunction('window._LCP === 107400 && window._LCP2 === 107400'); | ^ 31 | await page.locator('button').click(); 32 | const lcpSpan = await lcpPromise; 33 | at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/metrics/handlers-lcp/test.ts:30:16
[chromium] › suites/tracing/metrics/handlers-lcp/test.ts:14:11 › should capture metrics for LCP instrumentation handlers: dev-packages/browser-integration-tests/utils/spanUtils.ts#L13
1) [chromium] › suites/tracing/metrics/handlers-lcp/test.ts:14:11 › should capture metrics for LCP instrumentation handlers Error: page.waitForRequest: Test timeout of 30000ms exceeded. at utils/spanUtils.ts:13 11 | callback?: (spanEnvelope: StreamedSpanEnvelope) => boolean, 12 | ): Promise<StreamedSpanEnvelope> { > 13 | const req = await page.waitForRequest(req => { | ^ 14 | const postData = req.postData(); 15 | if (!postData) { 16 | return false; at waitForStreamedSpanEnvelope (/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/utils/spanUtils.ts:13:26) at waitForStreamedSpan (/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/utils/spanUtils.ts:67:30) at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/metrics/handlers-lcp/test.ts:28:43
[chromium] › suites/tracing/metrics/handlers-lcp/test.ts:14:11 › should capture metrics for LCP instrumentation handlers: dev-packages/browser-integration-tests/suites/tracing/metrics/handlers-lcp/test.ts#L0
1) [chromium] › suites/tracing/metrics/handlers-lcp/test.ts:14:11 › should capture metrics for LCP instrumentation handlers Test timeout of 30000ms exceeded.
🎭 Playwright Run Summary
1 failed [chromium] › suites/tracing/metrics/handlers-lcp/test.ts:14:11 › should capture metrics for LCP instrumentation handlers 611 passed (13.7m)