Skip to content

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

chore: properly mark failint tests

Andrey Lushnikovca6faf2e4cc7
diff --git a/test/cookies.spec.js b/test/cookies.spec.js
index 956b6af599..9b287d2d50 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.fails(WEBKIT)('should clear cookies', async({context, page, server}) => {
+ it.fail(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 bf8df3fa4f..f494f71492 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.fails(WEBKIT)('should fire close event for all contexts', async() => {
+ it.fail(WEBKIT)('should fire close event for all contexts', async() => {
const browser = await playwright.launch(defaultBrowserOptions);
const context = await browser.newContext();
let closed = false;