From ca6faf2e4cc7bec3b12e25b6fcfa5bc538a1bcb4 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Fri, 6 Mar 2020 13:34:29 -0800 Subject: [PATCH] chore: properly mark failint tests --- test/cookies.spec.js | 2 +- test/launcher.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;