test: disable one flaky test on Chromium (#1633)

This commit is contained in:
Dmitry Gozman 2020-04-01 19:15:38 -07:00 committed by GitHub
parent 14dbf4a20b
commit c345cfee54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,7 +206,10 @@ module.exports.describe = function({testRunner, expect, playwright, MAC, WIN, FF
setTimeout(() => window.stop(), 100);
}, server.EMPTY_PAGE);
});
it('calling window.stop sync', async({page, server, httpsServer}) => {
it.fail(CHROMIUM)('calling window.stop sync', async({page, server, httpsServer}) => {
// Flaky, see https://github.com/microsoft/playwright/pull/1630/checks?check_run_id=553475173.
// We only get Page.frameStoppedLoading, but do not know that navigation was aborted or
// that navigation request was cancelled.
await page.evaluate((url) => {
window.location.href = url;
window.stop();