mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-01 08:34:02 +03:00
feat(webkit): roll to r1667 (#14960)
This commit is contained in:
parent
c8e4e737a7
commit
c0c1ada9fe
@ -33,7 +33,7 @@
|
||||
},
|
||||
{
|
||||
"name": "webkit",
|
||||
"revision": "1666",
|
||||
"revision": "1667",
|
||||
"installByDefault": true,
|
||||
"revisionOverrides": {
|
||||
"mac10.14": "1446",
|
||||
|
@ -292,7 +292,7 @@
|
||||
"cssresize": true,
|
||||
"scrollsnappoints": true,
|
||||
"shapes": true,
|
||||
"textalignlast": false,
|
||||
"textalignlast": true,
|
||||
"csstransforms": true,
|
||||
"csstransforms3d": true,
|
||||
"csstransformslevel2": true,
|
||||
|
@ -292,7 +292,7 @@
|
||||
"cssresize": true,
|
||||
"scrollsnappoints": true,
|
||||
"shapes": true,
|
||||
"textalignlast": false,
|
||||
"textalignlast": true,
|
||||
"csstransforms": true,
|
||||
"csstransforms3d": true,
|
||||
"csstransformslevel2": true,
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user