Skip to content

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

test: disable flaky test on Firefox Linux

Andrey Lushnikov27eb25acef75
diff --git a/test/browsercontext.spec.js b/test/browsercontext.spec.js
index 92487d5bf7..7066f921bd 100644
--- a/test/browsercontext.spec.js
+++ b/test/browsercontext.spec.js
@@ -382,7 +382,8 @@ module.exports.describe = function({testRunner, expect, playwright, CHROMIUM, FF
expect(response.status()).toBe(200);
await context.close();
});
- it('should fail if wrong credentials', async({browser, server}) => {
+ // flaky: https://github.com/microsoft/playwright/issues/1303
+ it.fail(FFOX)('should fail if wrong credentials', async({browser, server}) => {
server.setAuth('/empty.html', 'user', 'pass');
const context = await browser.newContext({
httpCredentials: { username: 'foo', password: 'bar' }