feat(webkit): bump to 1363 (#4178)

This commit is contained in:
Yury Semikhatsky 2020-10-19 17:40:25 -07:00 committed by GitHub
parent 5d997ed28b
commit 9c160f2cc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

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

View File

@ -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);