feat(chromium): roll Chromium to r717627 (#49)
This commit is contained in:
Родитель
b64304ecbc
Коммит
f223a98e3d
|
@ -8,7 +8,7 @@
|
|||
"node": ">=8.16.0"
|
||||
},
|
||||
"playwright": {
|
||||
"chromium_revision": "706915",
|
||||
"chromium_revision": "717627",
|
||||
"firefox_revision": "1",
|
||||
"webkit_revision": "2"
|
||||
},
|
||||
|
|
|
@ -102,7 +102,7 @@ module.exports.addTests = function({testRunner, expect, FFOX, CHROME, WEBKIT}) {
|
|||
focused: true,
|
||||
multiline: true,
|
||||
children: [{
|
||||
role: 'GenericContainer',
|
||||
role: 'generic',
|
||||
name: '',
|
||||
children: [{
|
||||
role: 'text', name: 'hi'
|
||||
|
@ -184,7 +184,7 @@ module.exports.addTests = function({testRunner, expect, FFOX, CHROME, WEBKIT}) {
|
|||
name: 'my fake image'
|
||||
}]
|
||||
} : {
|
||||
role: 'GenericContainer',
|
||||
role: 'generic',
|
||||
name: '',
|
||||
value: 'Edit this image: ',
|
||||
children: [{
|
||||
|
@ -243,7 +243,7 @@ module.exports.addTests = function({testRunner, expect, FFOX, CHROME, WEBKIT}) {
|
|||
<div contenteditable="plaintext-only">Edit this image:<img src="fakeimage.png" alt="my fake image"></div>`);
|
||||
const snapshot = await page.accessibility.snapshot();
|
||||
expect(snapshot.children[0]).toEqual({
|
||||
role: 'GenericContainer',
|
||||
role: 'generic',
|
||||
name: ''
|
||||
});
|
||||
});
|
||||
|
@ -252,7 +252,7 @@ module.exports.addTests = function({testRunner, expect, FFOX, CHROME, WEBKIT}) {
|
|||
<div contenteditable="plaintext-only" tabIndex=0>Edit this image:<img src="fakeimage.png" alt="my fake image"></div>`);
|
||||
const snapshot = await page.accessibility.snapshot();
|
||||
expect(snapshot.children[0]).toEqual({
|
||||
role: 'GenericContainer',
|
||||
role: 'generic',
|
||||
name: ''
|
||||
});
|
||||
});
|
||||
|
@ -362,10 +362,21 @@ module.exports.addTests = function({testRunner, expect, FFOX, CHROME, WEBKIT}) {
|
|||
const div = await page.$('div');
|
||||
expect(await page.accessibility.snapshot({root: div})).toEqual(null);
|
||||
expect(await page.accessibility.snapshot({root: div, interestingOnly: false})).toEqual({
|
||||
role: 'GenericContainer',
|
||||
role: 'generic',
|
||||
name: '',
|
||||
children: [ { role: 'button', name: 'My Button' } ] }
|
||||
);
|
||||
children: [
|
||||
{
|
||||
role: 'button',
|
||||
name: 'My Button',
|
||||
children: [
|
||||
{
|
||||
role: "text",
|
||||
name: "My Button"
|
||||
}
|
||||
],
|
||||
}
|
||||
]
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
|
||||
const assert = require('assert');
|
||||
const playwright = require('..');
|
||||
const playwright = require('../chromium');
|
||||
const https = require('https');
|
||||
const SUPPORTER_PLATFORMS = ['linux', 'mac', 'win32', 'win64'];
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче