From fbccd328ccd00192b117884ea729683576248bd1 Mon Sep 17 00:00:00 2001 From: Dmitry Gozman Date: Tue, 19 May 2020 14:54:13 -0700 Subject: [PATCH] test: disable firefox crash tests (#2301) --- test/page.spec.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/page.spec.js b/test/page.spec.js index 1cc69dc4a1..d515408dd9 100644 --- a/test/page.spec.js +++ b/test/page.spec.js @@ -18,7 +18,7 @@ const path = require('path'); const util = require('util'); const vm = require('vm'); -const {FFOX, CHROMIUM, WEBKIT} = require('./utils').testOptions(browserType); +const {FFOX, CHROMIUM, WEBKIT, WIN} = require('./utils').testOptions(browserType); describe('Page.close', function() { it('should reject all promises when page is closed', async({context}) => { @@ -105,7 +105,9 @@ describe('Async stacks', () => { }); }); -describe('Page.Events.Crash', function() { +describe.fail(FFOX && WIN)('Page.Events.Crash', function() { + // Firefox Win: it just doesn't crash sometimes. + function crash(page) { if (CHROMIUM) page.goto('chrome://crash').catch(e => {});