From 0a7b54abc3b4a5e2737a8a25b1504dc99d0742f4 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Tue, 5 Oct 2021 18:30:07 -0700 Subject: [PATCH] test: set content-type to make test pass (#9331) --- tests/page/page-request-fulfill.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/page/page-request-fulfill.spec.ts b/tests/page/page-request-fulfill.spec.ts index d9dd74c45f..3fab893ba0 100644 --- a/tests/page/page-request-fulfill.spec.ts +++ b/tests/page/page-request-fulfill.spec.ts @@ -273,6 +273,7 @@ it('should fulfill with fetch response that has multiple set-cookie', async ({ p it.fail(browserName === 'webkit', 'Response contained invalid HTTP headers'); server.setRoute('/empty.html', (req, res) => { res.setHeader('Set-Cookie', ['a=b', 'c=d']); + res.setHeader('Content-Type', 'text/html'); res.end(); }); await page.route('**/empty.html', async route => {