From 33f3e5724bf61d21814751c083af1dfca7069e2e Mon Sep 17 00:00:00 2001 From: Dmitry Gozman Date: Tue, 3 Mar 2020 17:26:58 -0800 Subject: [PATCH] test: skip flaky 'Page.goto extraHttpHeaders should be pushed to provisional page' (#1203) --- test/navigation.spec.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) => {