feat(webkit): roll WebKit, migrate to Playwright.exe (#1749)

This commit is contained in:
Pavel Feldman 2020-04-10 21:02:28 -07:00 committed by GitHub
parent bf656ea318
commit 9249f33709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@
"playwright": { "playwright": {
"chromium_revision": "754895", "chromium_revision": "754895",
"firefox_revision": "1076", "firefox_revision": "1076",
"webkit_revision": "1190" "webkit_revision": "1193"
}, },
"scripts": { "scripts": {
"ctest": "cross-env BROWSER=chromium node test/test.js", "ctest": "cross-env BROWSER=chromium node test/test.js",

View File

@ -85,8 +85,8 @@ const RELATIVE_EXECUTABLE_PATHS = {
'mac10.13': undefined, 'mac10.13': undefined,
'mac10.14': ['pw_run.sh'], 'mac10.14': ['pw_run.sh'],
'mac10.15': ['pw_run.sh'], 'mac10.15': ['pw_run.sh'],
'win32': ['MiniBrowser.exe'], 'win32': ['Playwright.exe'],
'win64': ['MiniBrowser.exe'], 'win64': ['Playwright.exe'],
}, },
}; };

View File

@ -16,7 +16,7 @@
*/ */
const utils = require('./utils'); const utils = require('./utils');
const {FFOX, CHROMIUM, WEBKIT} = utils.testOptions(browserType); const {FFOX, CHROMIUM, WEBKIT, WIN} = utils.testOptions(browserType);
describe('Page.click', function() { describe('Page.click', function() {
it('should click the button', async({page, server}) => { it('should click the button', async({page, server}) => {
@ -383,7 +383,7 @@ describe('Page.click', function() {
await context.close(); await context.close();
}); });
it('should wait for stable position', async({page, server}) => { it.fail(WEBKIT && WIN)('should wait for stable position', async({page, server}) => {
await page.goto(server.PREFIX + '/input/button.html'); await page.goto(server.PREFIX + '/input/button.html');
await page.$eval('button', button => { await page.$eval('button', button => {
button.style.transition = 'margin 500ms linear 0s'; button.style.transition = 'margin 500ms linear 0s';
@ -401,7 +401,7 @@ describe('Page.click', function() {
expect(await page.evaluate(() => pageX)).toBe(300); expect(await page.evaluate(() => pageX)).toBe(300);
expect(await page.evaluate(() => pageY)).toBe(10); expect(await page.evaluate(() => pageY)).toBe(10);
}); });
it('should timeout waiting for stable position', async({page, server}) => { it.fail(WEBKIT && WIN)('should timeout waiting for stable position', async({page, server}) => {
await page.goto(server.PREFIX + '/input/button.html'); await page.goto(server.PREFIX + '/input/button.html');
const button = await page.$('button'); const button = await page.$('button');
await button.evaluate(button => { await button.evaluate(button => {