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): roll to r2100 (#33395)

Playwright Service18453f388922
diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json
index 4966900814..d2d6b0b03d 100644
--- a/packages/playwright-core/browsers.json
+++ b/packages/playwright-core/browsers.json
@@ -27,7 +27,7 @@
},
{
"name": "webkit",
- "revision": "2099",
+ "revision": "2100",
"installByDefault": true,
"revisionOverrides": {
"mac10.14": "1446",
diff --git a/tests/library/modernizr.spec.ts b/tests/library/modernizr.spec.ts
index 7e3fc49f6f..c0a06f3714 100644
--- a/tests/library/modernizr.spec.ts
+++ b/tests/library/modernizr.spec.ts
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+import { hostPlatform } from '../../packages/playwright-core/src/utils/hostPlatform';
import { browserTest as it, expect } from '../config/browserTest';
import fs from 'fs';
import os from 'os';
@@ -33,6 +34,7 @@ async function checkFeatures(name: string, context: any, server: any) {
it('Safari Desktop', async ({ browser, browserName, platform, server, headless }) => {
it.skip(browserName !== 'webkit');
it.skip(browserName === 'webkit' && platform === 'darwin' && os.arch() === 'x64', 'Modernizr uses WebGL which is not available on Intel macOS - https://bugs.webkit.org/show_bug.cgi?id=278277');
+ it.skip(browserName === 'webkit' && hostPlatform.startsWith('ubuntu20.04'), 'Ubuntu 20.04 is frozen');
const context = await browser.newContext({
deviceScaleFactor: 2
});
@@ -52,7 +54,6 @@ it('Safari Desktop', async ({ browser, browserName, platform, server, headless }
actual.video = !!actual.video;
if (platform === 'linux') {
- expected.subpixelfont = false;
expected.speechrecognition = false;
expected.publickeycredential = false;
expected.mediastream = false;
@@ -96,6 +97,7 @@ it('Safari Desktop', async ({ browser, browserName, platform, server, headless }
it('Mobile Safari', async ({ playwright, browser, browserName, platform, server, headless }) => {
it.skip(browserName !== 'webkit');
it.skip(browserName === 'webkit' && platform === 'darwin' && os.arch() === 'x64', 'Modernizr uses WebGL which is not available on Intel macOS - https://bugs.webkit.org/show_bug.cgi?id=278277');
+ it.skip(browserName === 'webkit' && hostPlatform.startsWith('ubuntu20.04'), 'Ubuntu 20.04 is frozen');
const iPhone = playwright.devices['iPhone 12'];
const context = await browser.newContext(iPhone);
const { actual, expected } = await checkFeatures('mobile-safari-18', context, server);
@@ -119,7 +121,6 @@ it('Mobile Safari', async ({ playwright, browser, browserName, platform, server,
}
if (platform === 'linux') {
- expected.subpixelfont = false;
expected.speechrecognition = false;
expected.publickeycredential = false;
expected.mediastream = false;