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 1363 (#4178)

Yury Semikhatsky9c160f2cc840
diff --git a/browsers.json b/browsers.json
index 356d9c9810..cd1b725410 100644
--- a/browsers.json
+++ b/browsers.json
@@ -13,7 +13,7 @@
},
{
"name": "webkit",
- "revision": "1357",
+ "revision": "1363",
"download": true
}
]
diff --git a/test/browsercontext-viewport-mobile.spec.ts b/test/browsercontext-viewport-mobile.spec.ts
index ef8e20ca57..c62051a4c8 100644
--- a/test/browsercontext-viewport-mobile.spec.ts
+++ b/test/browsercontext-viewport-mobile.spec.ts
@@ -131,9 +131,7 @@ describe('mobile viewport', (suite, { browserName }) => {
await context.close();
});
- it('should emulate the hover media feature', (test, { browserName, platform }) => {
- test.fail(browserName === 'webkit' && platform === 'darwin');
- }, async ({playwright, browser}) => {
+ it('should emulate the hover media feature', async ({playwright, browser}) => {
const iPhone = playwright.devices['iPhone 6'];
const mobilepage = await browser.newPage({ ...iPhone });
expect(await mobilepage.evaluate(() => matchMedia('(hover: hover)').matches)).toBe(false);