mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
feat(chromium): roll Chromium to r717627 (#49)
This commit is contained in:
parent
b64304ecbc
commit
f223a98e3d
@ -8,7 +8,7 @@
|
|||||||
"node": ">=8.16.0"
|
"node": ">=8.16.0"
|
||||||
},
|
},
|
||||||
"playwright": {
|
"playwright": {
|
||||||
"chromium_revision": "706915",
|
"chromium_revision": "717627",
|
||||||
"firefox_revision": "1",
|
"firefox_revision": "1",
|
||||||
"webkit_revision": "2"
|
"webkit_revision": "2"
|
||||||
},
|
},
|
||||||
|
@ -102,7 +102,7 @@ module.exports.addTests = function({testRunner, expect, FFOX, CHROME, WEBKIT}) {
|
|||||||
focused: true,
|
focused: true,
|
||||||
multiline: true,
|
multiline: true,
|
||||||
children: [{
|
children: [{
|
||||||
role: 'GenericContainer',
|
role: 'generic',
|
||||||
name: '',
|
name: '',
|
||||||
children: [{
|
children: [{
|
||||||
role: 'text', name: 'hi'
|
role: 'text', name: 'hi'
|
||||||
@ -184,7 +184,7 @@ module.exports.addTests = function({testRunner, expect, FFOX, CHROME, WEBKIT}) {
|
|||||||
name: 'my fake image'
|
name: 'my fake image'
|
||||||
}]
|
}]
|
||||||
} : {
|
} : {
|
||||||
role: 'GenericContainer',
|
role: 'generic',
|
||||||
name: '',
|
name: '',
|
||||||
value: 'Edit this image: ',
|
value: 'Edit this image: ',
|
||||||
children: [{
|
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>`);
|
<div contenteditable="plaintext-only">Edit this image:<img src="fakeimage.png" alt="my fake image"></div>`);
|
||||||
const snapshot = await page.accessibility.snapshot();
|
const snapshot = await page.accessibility.snapshot();
|
||||||
expect(snapshot.children[0]).toEqual({
|
expect(snapshot.children[0]).toEqual({
|
||||||
role: 'GenericContainer',
|
role: 'generic',
|
||||||
name: ''
|
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>`);
|
<div contenteditable="plaintext-only" tabIndex=0>Edit this image:<img src="fakeimage.png" alt="my fake image"></div>`);
|
||||||
const snapshot = await page.accessibility.snapshot();
|
const snapshot = await page.accessibility.snapshot();
|
||||||
expect(snapshot.children[0]).toEqual({
|
expect(snapshot.children[0]).toEqual({
|
||||||
role: 'GenericContainer',
|
role: 'generic',
|
||||||
name: ''
|
name: ''
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -362,10 +362,21 @@ module.exports.addTests = function({testRunner, expect, FFOX, CHROME, WEBKIT}) {
|
|||||||
const div = await page.$('div');
|
const div = await page.$('div');
|
||||||
expect(await page.accessibility.snapshot({root: div})).toEqual(null);
|
expect(await page.accessibility.snapshot({root: div})).toEqual(null);
|
||||||
expect(await page.accessibility.snapshot({root: div, interestingOnly: false})).toEqual({
|
expect(await page.accessibility.snapshot({root: div, interestingOnly: false})).toEqual({
|
||||||
role: 'GenericContainer',
|
role: 'generic',
|
||||||
name: '',
|
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 assert = require('assert');
|
||||||
const playwright = require('..');
|
const playwright = require('../chromium');
|
||||||
const https = require('https');
|
const https = require('https');
|
||||||
const SUPPORTER_PLATFORMS = ['linux', 'mac', 'win32', 'win64'];
|
const SUPPORTER_PLATFORMS = ['linux', 'mac', 'win32', 'win64'];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user