feat(webkit): bump to 1378 (#4338)
This commit is contained in:
parent
12afb79e73
commit
14a8292863
|
|
@ -13,7 +13,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "webkit",
|
"name": "webkit",
|
||||||
"revision": "1373",
|
"revision": "1378",
|
||||||
"download": true
|
"download": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -17,9 +17,7 @@
|
||||||
|
|
||||||
import { it, expect } from './fixtures';
|
import { it, expect } from './fixtures';
|
||||||
|
|
||||||
it('should close page with active dialog', (test, { browserName, platform }) => {
|
it('should close page with active dialog', async ({context}) => {
|
||||||
test.fixme(browserName === 'webkit' && platform === 'darwin', 'WebKit hangs on a Mac');
|
|
||||||
}, async ({context}) => {
|
|
||||||
const page = await context.newPage();
|
const page = await context.newPage();
|
||||||
await page.setContent(`<button onclick="setTimeout(() => alert(1))">alert</button>`);
|
await page.setContent(`<button onclick="setTimeout(() => alert(1))">alert</button>`);
|
||||||
page.click('button');
|
page.click('button');
|
||||||
|
|
@ -27,9 +25,7 @@ it('should close page with active dialog', (test, { browserName, platform }) =>
|
||||||
await page.close();
|
await page.close();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should not accept after close', (test, { browserName, platform }) => {
|
it('should not accept after close', async ({page}) => {
|
||||||
test.fixme(browserName === 'webkit' && platform === 'darwin', 'WebKit hangs on a Mac');
|
|
||||||
}, async ({page}) => {
|
|
||||||
page.evaluate(() => alert()).catch(() => {});
|
page.evaluate(() => alert()).catch(() => {});
|
||||||
const dialog = await page.waitForEvent('dialog');
|
const dialog = await page.waitForEvent('dialog');
|
||||||
await page.close();
|
await page.close();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue