Closed
Description
Flakiness Type
Assertion failure
Name of Job
Playwright (esm 3/3) Tests
Name of Test
[webkit] › replay/extendNetworkBreadcrumbs/fetch/captureResponseBody/test.ts:93:11 › captures JSON response body
Link to Test Run
https://github.com/getsentry/sentry-javascript/actions/runs/8299270802/job/22715154962?pr=11134
Details
1) [webkit] › replay/extendNetworkBreadcrumbs/fetch/captureResponseBody/test.ts:93:11 › captures JSON response body
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 0
@@ -1,10 +1,9 @@
Object {
"category": "fetch",
"data": Object {
"method": "POST",
- "response_body_size": 14,
"status_code": 200,
"url": "http://localhost:7654/foo",
},
"timestamp": Any<Number>,
"type": "http",
138 |
139 | expect(eventData?.breadcrumbs?.length).toBe(1);
> 140 | expect(eventData!.breadcrumbs![0]).toEqual({
| ^
141 | timestamp: expect.any(Number),
142 | category: 'fetch',
143 | type: 'http',
at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/replay/extendNetworkBreadcrumbs/fetch/captureResponseBody/test.ts:140:38