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

This commit is contained in:
Dmitry Gozman 2020-03-03 17:26:58 -08:00 committed by GitHub
parent 1c4619e5e0
commit 33f3e5724b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) => {