Skip to content

Commit

Permalink
test(firefox): fix should close browser with beforeunload page (#1532)
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s authored Mar 25, 2020
1 parent aba670d commit 2d5b701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/headful.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module.exports.describe = function({testRunner, expect, browserType, defaultBrow
await removeUserDataDir(userDataDir);
expect(cookie).toBe('foo=true');
});
it.fail(FFOX)('should close browser with beforeunload page', async({server}) => {
it('should close browser with beforeunload page', async({server}) => {
const userDataDir = await makeUserDataDir();
const browserContext = await browserType.launchPersistentContext(userDataDir, headfulOptions);
const page = await browserContext.newPage();
Expand Down

0 comments on commit 2d5b701

Please sign in to comment.