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 test as flaky on Firefox (#1321)

Andrey Lushnikov59f2e888cac4
diff --git a/test/browsercontext.spec.js b/test/browsercontext.spec.js
index 4a0b95a533..f7c4c80138 100644
--- a/test/browsercontext.spec.js
+++ b/test/browsercontext.spec.js
@@ -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' }