feat(webkit): bump to 1378 (#4338)

This commit is contained in:
Yury Semikhatsky 2020-11-04 11:00:25 -08:00 committed by GitHub
parent 12afb79e73
commit 14a8292863
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 7 deletions

View File

@ -13,7 +13,7 @@
},
{
"name": "webkit",
"revision": "1373",
"revision": "1378",
"download": true
}
]

View File

@ -17,9 +17,7 @@
import { it, expect } from './fixtures';
it('should close page with active dialog', (test, { browserName, platform }) => {
test.fixme(browserName === 'webkit' && platform === 'darwin', 'WebKit hangs on a Mac');
}, async ({context}) => {
it('should close page with active dialog', async ({context}) => {
const page = await context.newPage();
await page.setContent(`<button onclick="setTimeout(() => alert(1))">alert</button>`);
page.click('button');
@ -27,9 +25,7 @@ it('should close page with active dialog', (test, { browserName, platform }) =>
await page.close();
});
it('should not accept after close', (test, { browserName, platform }) => {
test.fixme(browserName === 'webkit' && platform === 'darwin', 'WebKit hangs on a Mac');
}, async ({page}) => {
it('should not accept after close', async ({page}) => {
page.evaluate(() => alert()).catch(() => {});
const dialog = await page.waitForEvent('dialog');
await page.close();