Skip to content

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

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

Yury Semikhatsky14a82928633c
diff --git a/browsers.json b/browsers.json
index 84be337865..6abdae88ac 100644
--- a/browsers.json
+++ b/browsers.json
@@ -13,7 +13,7 @@
},
{
"name": "webkit",
- "revision": "1373",
+ "revision": "1378",
"download": true
}
]
diff --git a/test/page-close.spec.ts b/test/page-close.spec.ts
index 0fff268e0c..fb25bb9805 100644
--- a/test/page-close.spec.ts
+++ b/test/page-close.spec.ts
@@ -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();