Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: close runaway browser from headful tests (#10866)

Andrey Lushnikov3c633f58f9f4
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 }) {