diff --git a/browsers.json b/browsers.json index a4df9f1143..55f8a02460 100644 --- a/browsers.json +++ b/browsers.json @@ -13,7 +13,7 @@ }, { "name": "webkit", - "revision": "1391", + "revision": "1395", "download": true } ] diff --git a/test/browsercontext-viewport.spec.ts b/test/browsercontext-viewport.spec.ts index bd059e455f..b0fa8c5c2c 100644 --- a/test/browsercontext-viewport.spec.ts +++ b/test/browsercontext-viewport.spec.ts @@ -82,9 +82,7 @@ it('should emulate device height', async ({page, server}) => { expect(await page.evaluate(() => matchMedia('(device-height: 500px)').matches)).toBe(true); }); -it('should emulate availWidth and availHeight', (test, { browserName, platform, headful }) => { - test.fail(browserName === 'webkit' && (platform !== 'linux' || headful), 'Not implemented'); -}, async ({page}) => { +it('should emulate availWidth and availHeight', async ({page}) => { await page.setViewportSize({width: 500, height: 600}); expect(await page.evaluate(() => window.screen.availWidth)).toBe(500); expect(await page.evaluate(() => window.screen.availHeight)).toBe(600);