Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

feat(webkit): bump to 1290 (#2652)

Yury Semikhatsky2251f9bedbe9
diff --git a/.travis.yml b/.travis.yml
index 331b9ed7d6..ea53a4b148 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,6 +29,11 @@ jobs:
- libnotify4
- libxslt1.1
- libvpx5
+ # gstreamer and plugins to support video playback in WebKit.
+ - gstreamer1.0-gl
+ - gstreamer1.0-plugins-base
+ - gstreamer1.0-plugins-good
+ - gstreamer1.0-plugins-bad
# This is required to run chromium
- libgbm1
# this is needed for running headful tests
diff --git a/browsers.json b/browsers.json
index 6fffafc71d..4d201b6582 100644
--- a/browsers.json
+++ b/browsers.json
@@ -10,7 +10,7 @@
},
{
"name": "webkit",
- "revision": "1289"
+ "revision": "1290"
}
]
}
diff --git a/test/capabilities.spec.js b/test/capabilities.spec.js
index d10bb85ebf..1c13bbb92c 100644
--- a/test/capabilities.spec.js
+++ b/test/capabilities.spec.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-const {FFOX, CHROMIUM, WEBKIT, WIN} = require('./utils').testOptions(browserType);
+const {FFOX, CHROMIUM, WEBKIT, WIN, LINUX} = require('./utils').testOptions(browserType);
describe('Capabilities', function() {
it.fail(WEBKIT && WIN)('Web Assembly should work', async function({page, server}) {
@@ -47,7 +47,7 @@ describe('Capabilities', function() {
await page.goto(server.EMPTY_PAGE);
expect(await page.evaluate(() => window.testStatus)).toBe('SUCCESS');
});
- it.fail(WEBKIT)('should play video', async({page, server}) => {
+ it.fail(WEBKIT && !LINUX)('should play video', async({page, server}) => {
await page.goto(server.PREFIX + '/video.html');
await page.$eval('video', v => v.play());
await page.$eval('video', v => v.pause());