test: mark headful test as slow (#1710)

This commit is contained in:
Dmitry Gozman 2020-04-08 13:13:55 -07:00 committed by GitHub
parent 22a7636ab0
commit be06bb0139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();