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 => {