From 3c633f58f9f49117cd3da3acd0c9fc8952477d30 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Fri, 10 Dec 2021 13:10:46 -0800 Subject: [PATCH] test: close runaway browser from headful tests (#10866) --- tests/headful.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/headful.spec.ts b/tests/headful.spec.ts index 16649c7b80..1ff26be39e 100644 --- a/tests/headful.spec.ts +++ b/tests/headful.spec.ts @@ -141,6 +141,7 @@ it('should not block third party SameSite=None cookies', async ({ httpsServer, b await page.goto(httpsServer.EMPTY_PAGE); expect(await cookie).toBe('a=b'); + await browser.close(); }); it('should not override viewport size when passed null', async function({ browserType, server, browserName }) {