test: add modernizr gtk/wpe diff (#7454)
This commit is contained in:
parent
41a63a8825
commit
f40611306e
|
|
@ -32,7 +32,7 @@ async function checkFeatures(name: string, context: any, server: any) {
|
||||||
it('safari-14-1', async ({ browser, browserName, platform, server }) => {
|
it('safari-14-1', async ({ browser, browserName, platform, server }) => {
|
||||||
it.fixme();
|
it.fixme();
|
||||||
|
|
||||||
/*
|
/* macOS
|
||||||
+ "atRule": undefined,
|
+ "atRule": undefined,
|
||||||
"atob-btoa": true,
|
"atob-btoa": true,
|
||||||
"atobbtoa": true,
|
"atobbtoa": true,
|
||||||
|
|
@ -59,6 +59,48 @@ it('safari-14-1', async ({ browser, browserName, platform, server }) => {
|
||||||
+ },
|
+ },
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* GTK
|
||||||
|
- "gamepads": true,
|
||||||
|
+ "gamepads": false,
|
||||||
|
- "getusermedia": true,
|
||||||
|
- "hairline": true,
|
||||||
|
+ "getusermedia": false,
|
||||||
|
+ "hairline": false,
|
||||||
|
+ "hasEvent": undefined,
|
||||||
|
|
||||||
|
"input": Object {
|
||||||
|
- "list": true,
|
||||||
|
+ "list": false,
|
||||||
|
},
|
||||||
|
"inputtypes": Object {
|
||||||
|
- "color": true,
|
||||||
|
- "date": true,
|
||||||
|
+ "color": false,
|
||||||
|
+ "date": false,
|
||||||
|
- "datetime-local": true,
|
||||||
|
+ "datetime-local": false,
|
||||||
|
- "time": true,
|
||||||
|
+ "time": false,
|
||||||
|
},
|
||||||
|
- "peerconnection": true,
|
||||||
|
+ "peerconnection": false,
|
||||||
|
- "pointerlock": true,
|
||||||
|
+ "pointerlock": false,
|
||||||
|
- "speechrecognition": true,
|
||||||
|
- "speechsynthesis": true,
|
||||||
|
+ "speechrecognition": false,
|
||||||
|
+ "speechsynthesis": false,
|
||||||
|
- "subpixelfont": true,
|
||||||
|
+ "subpixelfont": false,
|
||||||
|
- "todataurljpeg": true,
|
||||||
|
+ "todataurljpeg": false,
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* WPE
|
||||||
|
- "datalistelem": true,
|
||||||
|
+ "datalistelem": false,
|
||||||
|
*/
|
||||||
|
|
||||||
it.skip(browserName !== 'webkit' || platform !== 'darwin');
|
it.skip(browserName !== 'webkit' || platform !== 'darwin');
|
||||||
const context = await browser.newContext();
|
const context = await browser.newContext();
|
||||||
await checkFeatures('safari-14-1', context, server);
|
await checkFeatures('safari-14-1', context, server);
|
||||||
|
|
@ -67,7 +109,7 @@ it('safari-14-1', async ({ browser, browserName, platform, server }) => {
|
||||||
it('mobile-safari-14-1', async ({ playwright, browser, browserName, platform, server }) => {
|
it('mobile-safari-14-1', async ({ playwright, browser, browserName, platform, server }) => {
|
||||||
it.fixme();
|
it.fixme();
|
||||||
|
|
||||||
/*
|
/* macOS
|
||||||
+ "atRule": undefined,
|
+ "atRule": undefined,
|
||||||
"atob-btoa": true,
|
"atob-btoa": true,
|
||||||
"atobbtoa": true,
|
"atobbtoa": true,
|
||||||
|
|
@ -90,7 +132,7 @@ it('mobile-safari-14-1', async ({ playwright, browser, browserName, platform, se
|
||||||
- "devicemotion": true,
|
- "devicemotion": true,
|
||||||
- "deviceorientation": true,
|
- "deviceorientation": true,
|
||||||
+ "devicemotion": false,
|
+ "devicemotion": false,
|
||||||
+ "deviceorientation": false,
|
+ "deviceorientation": falsef,
|
||||||
- "fullscreen": false,
|
- "fullscreen": false,
|
||||||
+ "fullscreen": true,
|
+ "fullscreen": true,
|
||||||
- "hairline": true,
|
- "hairline": true,
|
||||||
|
|
@ -120,6 +162,50 @@ it('mobile-safari-14-1', async ({ playwright, browser, browserName, platform, se
|
||||||
+ },
|
+ },
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* GTK
|
||||||
|
- "datalistelem": true,
|
||||||
|
+ "datalistelem": false,
|
||||||
|
- "gamepads": true,
|
||||||
|
+ "gamepads": false,
|
||||||
|
- "getusermedia": true,
|
||||||
|
- "hairline": true,
|
||||||
|
+ "getusermedia": false,
|
||||||
|
+ "hairline": false,
|
||||||
|
+ "hasEvent": undefined,
|
||||||
|
|
||||||
|
"input": Object {
|
||||||
|
- "list": true,
|
||||||
|
+ "list": false,
|
||||||
|
},
|
||||||
|
"inputtypes": Object {
|
||||||
|
- "color": true,
|
||||||
|
- "date": true,
|
||||||
|
+ "color": false,
|
||||||
|
+ "date": false,
|
||||||
|
- "datetime-local": true,
|
||||||
|
+ "datetime-local": false,
|
||||||
|
- "time": true,
|
||||||
|
+ "time": false,
|
||||||
|
},
|
||||||
|
- "peerconnection": true,
|
||||||
|
+ "peerconnection": false,
|
||||||
|
- "pointerlock": true,
|
||||||
|
+ "pointerlock": false,
|
||||||
|
- "speechrecognition": true,
|
||||||
|
- "speechsynthesis": true,
|
||||||
|
+ "speechrecognition": false,
|
||||||
|
+ "speechsynthesis": false,
|
||||||
|
- "subpixelfont": true,
|
||||||
|
+ "subpixelfont": false,
|
||||||
|
- "todataurljpeg": true,
|
||||||
|
+ "todataurljpeg": false,
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* WPE
|
||||||
|
- "datalistelem": true,
|
||||||
|
+ "datalistelem": false,
|
||||||
|
*/
|
||||||
|
|
||||||
it.skip(browserName !== 'webkit' || platform !== 'darwin');
|
it.skip(browserName !== 'webkit' || platform !== 'darwin');
|
||||||
const iPhone = playwright.devices['iPhone 12'];
|
const iPhone = playwright.devices['iPhone 12'];
|
||||||
const context = await browser.newContext(iPhone);
|
const context = await browser.newContext(iPhone);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue