Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
feat(chromium): roll Chromium to r717627 (#49)
Pavel Feldmanf223a98e3db2
diff --git a/package.json b/package.jsonindex f88ad41540..4763df4018 100644--- a/package.json+++ b/package.json@@ -8,7 +8,7 @@"node": ">=8.16.0"},"playwright": {- "chromium_revision": "706915",+ "chromium_revision": "717627","firefox_revision": "1","webkit_revision": "2"},diff --git a/src/tests/accessibility.spec.js b/src/tests/accessibility.spec.jsindex f365436552..b1bafc3174 100644--- a/src/tests/accessibility.spec.js+++ b/src/tests/accessibility.spec.js@@ -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"+ }+ ],+ }+ ]+ });});});});diff --git a/utils/check_availability.js b/utils/check_availability.jsindex 7073cbf2d8..516578b631 100755--- a/utils/check_availability.js+++ b/utils/check_availability.js@@ -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'];