Skip to content

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

test: mark headful test as slow (#1710)

Dmitry Gozmanbe06bb013944
diff --git a/test/headful.spec.js b/test/headful.spec.js
index 046157073d..2228b7c928 100644
--- a/test/headful.spec.js
+++ b/test/headful.spec.js
@@ -56,7 +56,7 @@ module.exports.describe = function({browserType, defaultBrowserOptions, FFOX, CH
await removeUserDataDir(userDataDir);
expect(cookie).toBe('foo=true');
});
- it('should close browser with beforeunload page', async({server}) => {
+ it.slow()('should close browser with beforeunload page', async({server}) => {
const userDataDir = await makeUserDataDir();
const browserContext = await browserType.launchPersistentContext(userDataDir, headfulOptions);
const page = await browserContext.newPage();