Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
feat(webkit): roll to r1667 (#14960)
Playwright Servicec0c1ada9fe50
diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.jsonindex 7fe1da0e7b..d39bb38cf6 100644--- a/packages/playwright-core/browsers.json+++ b/packages/playwright-core/browsers.json@@ -33,7 +33,7 @@},{"name": "webkit",- "revision": "1666",+ "revision": "1667","installByDefault": true,"revisionOverrides": {"mac10.14": "1446",diff --git a/tests/assets/modernizr/mobile-safari-14-1.json b/tests/assets/modernizr/mobile-safari-14-1.jsonindex 1391463a4b..a67ccfb232 100644--- a/tests/assets/modernizr/mobile-safari-14-1.json+++ b/tests/assets/modernizr/mobile-safari-14-1.json@@ -292,7 +292,7 @@"cssresize": true,"scrollsnappoints": true,"shapes": true,- "textalignlast": false,+ "textalignlast": true,"csstransforms": true,"csstransforms3d": true,"csstransformslevel2": true,diff --git a/tests/assets/modernizr/safari-14-1.json b/tests/assets/modernizr/safari-14-1.jsonindex 55373b37f8..5be7c70bcc 100644--- a/tests/assets/modernizr/safari-14-1.json+++ b/tests/assets/modernizr/safari-14-1.json@@ -292,7 +292,7 @@"cssresize": true,"scrollsnappoints": true,"shapes": true,- "textalignlast": false,+ "textalignlast": true,"csstransforms": true,"csstransforms3d": true,"csstransformslevel2": true,diff --git a/tests/library/modernizr.spec.ts b/tests/library/modernizr.spec.tsindex ef47d88ad4..59a80ef085 100644--- a/tests/library/modernizr.spec.ts+++ b/tests/library/modernizr.spec.ts@@ -16,6 +16,7 @@import { browserTest as it, expect } from '../config/browserTest';import fs from 'fs';+import os from 'os';async function checkFeatures(name: string, context: any, server: any) {try {@@ -31,6 +32,7 @@ async function checkFeatures(name: string, context: any, server: any) {it('safari-14-1', async ({ browser, browserName, platform, server, headless }) => {it.skip(browserName !== 'webkit');+ it.skip(browserName === 'webkit' && parseInt(os.release(), 10) < 20, 'WebKit for macOS 10.15 is frozen.');const context = await browser.newContext({deviceScaleFactor: 2});@@ -73,6 +75,7 @@ it('safari-14-1', async ({ browser, browserName, platform, server, headless }) =it('mobile-safari-14-1', async ({ playwright, browser, browserName, platform, server, headless }) => {it.skip(browserName !== 'webkit');+ it.skip(browserName === 'webkit' && parseInt(os.release(), 10) < 20, 'WebKit for macOS 10.15 is frozen.');const iPhone = playwright.devices['iPhone 12'];const context = await browser.newContext(iPhone);const { actual, expected } = await checkFeatures('mobile-safari-14-1', context, server);