From 08b0660dc57383453d18f8e1b6c3d49337e2a5c2 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Tue, 17 Sep 2024 16:48:26 +0200 Subject: [PATCH] omitSizes --- tests/library/har.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/library/har.spec.ts b/tests/library/har.spec.ts index e07bfbde57..2b7dab4262 100644 --- a/tests/library/har.spec.ts +++ b/tests/library/har.spec.ts @@ -845,6 +845,7 @@ it('should respect minimal mode for API Requests', async ({ contextFactory, serv const [entry] = entries; expect(entry.timings).toEqual({ receive: -1, send: -1, wait: -1 }); expect(entry.request.cookies).toEqual([]); + expect(entry.request.bodySize).toBe(-1); }); it('should include redirects from API request', async ({ contextFactory, server }, testInfo) => {