mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
feat(webkit): bump to 1363 (#4178)
This commit is contained in:
parent
5d997ed28b
commit
9c160f2cc8
@ -13,7 +13,7 @@
|
||||
},
|
||||
{
|
||||
"name": "webkit",
|
||||
"revision": "1357",
|
||||
"revision": "1363",
|
||||
"download": true
|
||||
}
|
||||
]
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user