Skip to content

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

test: mark failing tests on WebKit

Andrey Lushnikovcf820b52692b
diff --git a/test/cookies.spec.js b/test/cookies.spec.js
index c5439c6b84..956b6af599 100644
--- a/test/cookies.spec.js
+++ b/test/cookies.spec.js
@@ -443,7 +443,7 @@ module.exports.describe = function({testRunner, expect, playwright, defaultBrows
});
describe('BrowserContext.clearCookies', function() {
- it('should clear cookies', async({context, page, server}) => {
+ it.fails(WEBKIT)('should clear cookies', async({context, page, server}) => {
await page.goto(server.EMPTY_PAGE);
await context.setCookies([{
url: server.EMPTY_PAGE,
diff --git a/test/launcher.spec.js b/test/launcher.spec.js
index d2941046db..bf8df3fa4f 100644
--- a/test/launcher.spec.js
+++ b/test/launcher.spec.js
@@ -226,7 +226,7 @@ module.exports.describe = function({testRunner, expect, defaultBrowserOptions, p
expect(message).not.toContain('Timeout');
}
});
- it('should fire close event for all contexts', async() => {
+ it.fails(WEBKIT)('should fire close event for all contexts', async() => {
const browser = await playwright.launch(defaultBrowserOptions);
const context = await browser.newContext();
let closed = false;