From d332dd35880fbe1f601ee20d1a99292fb2b4c98f Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Tue, 10 Mar 2020 11:41:29 -0700 Subject: [PATCH] test: mark test as flaky on Firefox Run: https://github.com/microsoft/playwright/pull/1320/checks?check_run_id=498666394 --- test/browsercontext.spec.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/browsercontext.spec.js b/test/browsercontext.spec.js index 61f6e048393b0..a6c915aa57522 100644 --- a/test/browsercontext.spec.js +++ b/test/browsercontext.spec.js @@ -20,7 +20,7 @@ const utils = require('./utils'); /** * @type {BrowserTestSuite} */ -module.exports.describe = function({testRunner, expect, playwright, CHROMIUM, FFOX, WEBKIT}) { +module.exports.describe = function({testRunner, expect, playwright, CHROMIUM, FFOX, WEBKIT, LINUX}) { const {describe, xdescribe, fdescribe} = testRunner; const {it, fit, xit, dit} = testRunner; const {beforeAll, beforeEach, afterAll, afterEach} = testRunner; @@ -437,7 +437,8 @@ module.exports.describe = function({testRunner, expect, playwright, CHROMIUM, FF expect(response.status()).toBe(200); await context.close(); }); - it('should allow disable authentication', async({browser, server}) => { + // flaky: https://github.com/microsoft/playwright/pull/1320/checks?check_run_id=498666394 + it.fail(FFOX && LINUX)('should allow disable authentication', async({browser, server}) => { server.setAuth('/empty.html', 'user', 'pass'); const context = await browser.newContext({ httpCredentials: { username: 'user', password: 'pass' }