mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-06 03:16:17 +03:00
test: rebase modernizer Linux tests (#32268)
This commit is contained in:
parent
3a75f23ea1
commit
8c0e173d6c
@ -29,7 +29,7 @@
|
||||
"htmlimports": false,
|
||||
"history": true,
|
||||
"ie8compat": false,
|
||||
"applicationcache": true,
|
||||
"applicationcache": false,
|
||||
"blobconstructor": true,
|
||||
"blob-constructor": true,
|
||||
"cookies": true,
|
||||
@ -166,7 +166,7 @@
|
||||
"srcdoc": true,
|
||||
"imgcrossorigin": true,
|
||||
"hashchange": true,
|
||||
"inputsearchevent": true,
|
||||
"inputsearchevent": false,
|
||||
"ambientlight": false,
|
||||
"datalistelem": true,
|
||||
"videoloop": true,
|
||||
|
@ -29,7 +29,7 @@
|
||||
"htmlimports": false,
|
||||
"history": true,
|
||||
"ie8compat": false,
|
||||
"applicationcache": true,
|
||||
"applicationcache": false,
|
||||
"blobconstructor": true,
|
||||
"blob-constructor": true,
|
||||
"cookies": true,
|
||||
@ -166,7 +166,7 @@
|
||||
"srcdoc": true,
|
||||
"imgcrossorigin": true,
|
||||
"hashchange": true,
|
||||
"inputsearchevent": true,
|
||||
"inputsearchevent": false,
|
||||
"ambientlight": false,
|
||||
"datalistelem": true,
|
||||
"videoloop": true,
|
||||
|
@ -32,7 +32,6 @@ async function checkFeatures(name: string, context: any, server: any) {
|
||||
|
||||
it('safari-14-1', async ({ browser, browserName, platform, server, headless, isMac }) => {
|
||||
it.skip(browserName !== 'webkit');
|
||||
it.skip(browserName === 'webkit' && platform === 'darwin', 'WebKit for macOS 10.15 is frozen.');
|
||||
it.skip(browserName === 'webkit' && platform === 'darwin' && parseInt(os.release(), 10) === 22, 'Modernizr uses WebGL which is not available in macOS-13 - https://bugs.webkit.org/show_bug.cgi?id=278277');
|
||||
const context = await browser.newContext({
|
||||
deviceScaleFactor: 2
|
||||
@ -41,6 +40,7 @@ it('safari-14-1', async ({ browser, browserName, platform, server, headless, isM
|
||||
|
||||
if (platform === 'linux') {
|
||||
expected.subpixelfont = false;
|
||||
expected.speechrecognition = false;
|
||||
if (headless)
|
||||
expected.todataurljpeg = false;
|
||||
|
||||
@ -56,7 +56,6 @@ it('safari-14-1', async ({ browser, browserName, platform, server, headless, isM
|
||||
|
||||
if (platform === 'win32') {
|
||||
expected.datalistelem = false;
|
||||
expected.fileinputdirectory = false;
|
||||
expected.getusermedia = false;
|
||||
expected.peerconnection = false;
|
||||
expected.speechrecognition = false;
|
||||
@ -64,6 +63,7 @@ it('safari-14-1', async ({ browser, browserName, platform, server, headless, isM
|
||||
expected.todataurljpeg = false;
|
||||
expected.unicode = false;
|
||||
expected.webaudio = false;
|
||||
expected.gamepads = false;
|
||||
|
||||
expected.input.list = false;
|
||||
expected.inputtypes.color = false;
|
||||
@ -72,10 +72,8 @@ it('safari-14-1', async ({ browser, browserName, platform, server, headless, isM
|
||||
expected.inputtypes.time = false;
|
||||
}
|
||||
|
||||
if (isMac && parseInt(os.release(), 10) > 20) {
|
||||
if (isMac && parseInt(os.release(), 10) > 20)
|
||||
expected.applicationcache = false;
|
||||
expected.inputsearchevent = false;
|
||||
}
|
||||
|
||||
expect(actual).toEqual(expected);
|
||||
});
|
||||
@ -99,6 +97,7 @@ it('mobile-safari-14-1', async ({ playwright, browser, browserName, platform, is
|
||||
|
||||
if (platform === 'linux') {
|
||||
expected.subpixelfont = false;
|
||||
expected.speechrecognition = false;
|
||||
if (headless)
|
||||
expected.todataurljpeg = false;
|
||||
|
||||
@ -114,7 +113,6 @@ it('mobile-safari-14-1', async ({ playwright, browser, browserName, platform, is
|
||||
|
||||
if (platform === 'win32') {
|
||||
expected.datalistelem = false;
|
||||
expected.fileinputdirectory = false;
|
||||
expected.getusermedia = false;
|
||||
expected.peerconnection = false;
|
||||
expected.speechrecognition = false;
|
||||
@ -122,6 +120,7 @@ it('mobile-safari-14-1', async ({ playwright, browser, browserName, platform, is
|
||||
expected.todataurljpeg = false;
|
||||
expected.unicode = false;
|
||||
expected.webaudio = false;
|
||||
expected.gamepads = false;
|
||||
|
||||
expected.input.list = false;
|
||||
expected.inputtypes.color = false;
|
||||
@ -133,11 +132,6 @@ it('mobile-safari-14-1', async ({ playwright, browser, browserName, platform, is
|
||||
expected.inputtypes.time = false;
|
||||
}
|
||||
|
||||
if (isMac && parseInt(os.release(), 10) > 20) {
|
||||
expected.applicationcache = false;
|
||||
expected.inputsearchevent = false;
|
||||
}
|
||||
|
||||
expect(actual).toEqual(expected);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user