diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json index f13c77b27e..16df0b4675 100644 --- a/packages/playwright-core/browsers.json +++ b/packages/playwright-core/browsers.json @@ -33,7 +33,7 @@ }, { "name": "webkit", - "revision": "1847", + "revision": "1848", "installByDefault": true, "revisionOverrides": { "mac10.14": "1446", diff --git a/tests/library/capabilities.spec.ts b/tests/library/capabilities.spec.ts index da391b0e85..1a839932f1 100644 --- a/tests/library/capabilities.spec.ts +++ b/tests/library/capabilities.spec.ts @@ -236,7 +236,7 @@ it('make sure that XMLHttpRequest upload events are emitted correctly', async ({ it('loading in HTMLImageElement.prototype', async ({ page, server, browserName, isMac }) => { it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/22738' }); - it.skip(browserName === 'webkit' && isMac && parseInt(os.release(), 10) < 21, 'Does not work on macOS 11'); + it.skip(browserName === 'webkit' && isMac && parseInt(os.release(), 10) < 21, 'macOS 11 is frozen'); await page.goto(server.EMPTY_PAGE); const defined = await page.evaluate(() => 'loading' in HTMLImageElement.prototype); expect(defined).toBeTruthy(); diff --git a/tests/page/page-accessibility.spec.ts b/tests/page/page-accessibility.spec.ts index 283e810df6..2a8e32fecd 100644 --- a/tests/page/page-accessibility.spec.ts +++ b/tests/page/page-accessibility.spec.ts @@ -15,6 +15,7 @@ * limitations under the License. */ +import os from 'os'; import { test as it, expect } from './pageTest'; import { chromiumVersionLessThan } from '../config/utils'; @@ -74,7 +75,8 @@ it('should work @smoke', async ({ page, browserName }) => { { role: 'textbox', name: 'Input with whitespace', value: ' ' }, { role: 'textbox', name: '', value: 'value only' }, { role: 'textbox', name: 'placeholder', value: 'and a value' }, - { role: 'textbox', name: 'This is a description!', value: 'and a value' }, // webkit uses the description over placeholder for the name + // due to frozen WebKit on macOS 11 we have the if/else here + { role: 'textbox', name: parseInt(os.release(), 10) >= 21 ? 'placeholder' : 'This is a description!', value: 'and a value' }, // webkit uses the description over placeholder for the name ] }; expect(await page.accessibility.snapshot()).toEqual(golden);