getsentry / sentry-javascript

Official Sentry SDKs for JavaScript
https://sentry.io
MIT License
7.97k stars 1.57k forks source link

[Flaky CI]: [webkit] › replay/extendNetworkBreadcrumbs/fetch/captureResponseHeaders/test.ts:160:11 › does not capture response headers if URL does not match #11139

Closed AbhiPrasad closed 7 months ago

AbhiPrasad commented 7 months ago

Flakiness Type

Timeout

Name of Job

Playwright (esm 3/3) Tests

Name of Test

[webkit] › replay/extendNetworkBreadcrumbs/fetch/captureResponseHeaders/test.ts:160:11 › does not capture response headers if URL does not match

Link to Test Run

https://github.com/getsentry/sentry-javascript/actions/runs/8299500008/job/22715400339?pr=11134

Details

  1) [webkit] › replay/extendNetworkBreadcrumbs/fetch/captureResponseHeaders/test.ts:160:11 › does not capture response headers if URL does not match 

    Test timeout of 30000ms exceeded.

    Error: page.waitForResponse: Test timeout of 30000ms exceeded.

       at ../utils/replayHelpers.ts:120

      118 |
      119 |   // eslint-disable-next-line @typescript-eslint/no-floating-promises
    > 120 |   const promise = page.waitForResponse(res => {
          |                        ^
      121 |     const req = res.request();
      122 |
      123 |     const event = getReplayEventFromRequest(req);

        at collectReplayRequests (/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/utils/replayHelpers.ts:120:24)
        at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/replay/extendNetworkBreadcrumbs/fetch/captureResponseHeaders/test.ts:187:53
AbhiPrasad commented 7 months ago

flaky test skipped with https://github.com/getsentry/sentry-javascript/pull/11134