From 62b92111eef6fa68d6379cf769180b9d5506cec7 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Tue, 17 Sep 2024 16:41:28 +0200 Subject: [PATCH] omitCookies --- 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 cc65127e3f..e07bfbde57 100644 --- a/tests/library/har.spec.ts +++ b/tests/library/har.spec.ts @@ -844,6 +844,7 @@ it('should respect minimal mode for API Requests', async ({ contextFactory, serv expect(entries).toHaveLength(1); const [entry] = entries; expect(entry.timings).toEqual({ receive: -1, send: -1, wait: -1 }); + expect(entry.request.cookies).toEqual([]); }); it('should include redirects from API request', async ({ contextFactory, server }, testInfo) => {