feat(webkit): roll to r1667 (#14960)

This commit is contained in:
Playwright Service 2022-06-21 14:04:52 -07:00 committed by GitHub
parent c8e4e737a7
commit c0c1ada9fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 3 deletions

View File

@ -33,7 +33,7 @@
},
{
"name": "webkit",
"revision": "1666",
"revision": "1667",
"installByDefault": true,
"revisionOverrides": {
"mac10.14": "1446",

View File

@ -292,7 +292,7 @@
"cssresize": true,
"scrollsnappoints": true,
"shapes": true,
"textalignlast": false,
"textalignlast": true,
"csstransforms": true,
"csstransforms3d": true,
"csstransformslevel2": true,

View File

@ -292,7 +292,7 @@
"cssresize": true,
"scrollsnappoints": true,
"shapes": true,
"textalignlast": false,
"textalignlast": true,
"csstransforms": true,
"csstransforms3d": true,
"csstransformslevel2": true,

View File

@ -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);