Skip to content

feat(nextjs): Wait for the resumed part of a document before starting the pageload #3822

feat(nextjs): Wait for the resumed part of a document before starting the pageload

feat(nextjs): Wait for the resumed part of a document before starting the pageload #3822

Triggered via pull request October 12, 2026 09:23
Status Failure
Total duration 10m 3s
Artifacts –

flaky-test-detector.yml

on: pull_request
Check tests for flakiness
10m 0s
Check tests for flakiness
Fit to window
Zoom out
Zoom in

Annotations

10 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#L33
3) [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. 31 | // The handlers observe LCP through their own observer; on Linux, Chromium reports the body before 32 | // the image, and finalizing LCP while only the body has been delivered to them freezes that value. > 33 | await page.waitForFunction('window._LCP === 107400 && window._LCP2 === 107400'); | ^ 34 | await page.locator('button').click(); 35 | const lcpSpan = await lcpPromise; 36 | at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/metrics/handlers-lcp/test.ts:33: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
3) [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
3) [chromium] › suites/tracing/metrics/handlers-lcp/test.ts:14:11 › should capture metrics for LCP instrumentation handlers Test timeout of 30000ms exceeded.
[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#L33
2) [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. 31 | // The handlers observe LCP through their own observer; on Linux, Chromium reports the body before 32 | // the image, and finalizing LCP while only the body has been delivered to them freezes that value. > 33 | await page.waitForFunction('window._LCP === 107400 && window._LCP2 === 107400'); | ^ 34 | await page.locator('button').click(); 35 | const lcpSpan = await lcpPromise; 36 | at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/metrics/handlers-lcp/test.ts:33: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
2) [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
2) [chromium] › suites/tracing/metrics/handlers-lcp/test.ts:14:11 › should capture metrics for LCP instrumentation handlers Test timeout of 30000ms exceeded.
[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#L33
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. 31 | // The handlers observe LCP through their own observer; on Linux, Chromium reports the body before 32 | // the image, and finalizing LCP while only the body has been delivered to them freezes that value. > 33 | await page.waitForFunction('window._LCP === 107400 && window._LCP2 === 107400'); | ^ 34 | await page.locator('button').click(); 35 | const lcpSpan = await lcpPromise; 36 | at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/metrics/handlers-lcp/test.ts:33: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
3 failed [chromium] › suites/tracing/metrics/handlers-lcp/test.ts:14:11 › should capture metrics for LCP instrumentation handlers [chromium] › suites/tracing/metrics/handlers-lcp/test.ts:14:11 › should capture metrics for LCP instrumentation handlers [chromium] › suites/tracing/metrics/handlers-lcp/test.ts:14:11 › should capture metrics for LCP instrumentation handlers 47 passed (2.7m)