Skip to content

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

test: skip flaky 'Page.goto extraHttpHeaders should be pushed to provisional page' (#1203)

Dmitry Gozman33f3e5724bf6
diff --git a/test/navigation.spec.js b/test/navigation.spec.js
index c8e3a9d423..50a67b8255 100644
--- a/test/navigation.spec.js
+++ b/test/navigation.spec.js
@@ -392,7 +392,9 @@ module.exports.describe = function({testRunner, expect, playwright, MAC, WIN, FF
const error = await failed;
expect(error.message).toBeTruthy();
});
- it('extraHttpHeaders should be pushed to provisional page', async({page, server}) => {
+ it.skip(true)('extraHttpHeaders should be pushed to provisional page', async({page, server}) => {
+ // This test is flaky, because we cannot await page.setExtraHTTPHeaders.
+ // We need a way to test our implementation by more than just public api.
await page.goto(server.EMPTY_PAGE);
const pagePath = '/one-style.html';
server.setRoute(pagePath, async (req, res) => {