Skip to content

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

tests: make WebKit / GTK run all tests again (#383)

Pavel Feldman58b8e66df851
diff --git a/test/interception.spec.js b/test/interception.spec.js
index 3c9d465663..161c78fe36 100644
--- a/test/interception.spec.js
+++ b/test/interception.spec.js
@@ -476,7 +476,7 @@ module.exports.describe = function({testRunner, expect, defaultBrowserOptions, p
});
});
- describe.skip(FFOX)('Interception.authenticate', function() {
+ describe.skip(FFOX || (WEBKIT && process.platform === 'linux'))('Interception.authenticate', function() {
it('should work', async({page, server}) => {
server.setAuth('/empty.html', 'user', 'pass');
let response = await page.goto(server.EMPTY_PAGE);
diff --git a/test/page.spec.js b/test/page.spec.js
index ea1a43dfe3..ce6c7398e2 100644
--- a/test/page.spec.js
+++ b/test/page.spec.js
@@ -172,7 +172,8 @@ module.exports.describe = function({testRunner, expect, headless, playwright, FF
expect(await page.evaluate(() => !!window.opener)).toBe(false);
expect(await popup.evaluate(() => !!window.opener)).toBe(false);
});
- it.skip(FFOX)('should not treat navigations as new popups', async({page, server}) => {
+ // Crashes with Target closed on WebKit / Linux.
+ it.skip(WEBKIT || FFOX)('should not treat navigations as new popups', async({page, server}) => {
await page.goto(server.EMPTY_PAGE);
await page.setContent('<a target=_blank rel=noopener href="/one-style.html">yo</a>');
const [popup] = await Promise.all([