test: disable firefox crash tests (#2301)
This commit is contained in:
parent
a010fcd620
commit
fbccd328cc
|
|
@ -18,7 +18,7 @@
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const util = require('util');
|
const util = require('util');
|
||||||
const vm = require('vm');
|
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() {
|
describe('Page.close', function() {
|
||||||
it('should reject all promises when page is closed', async({context}) => {
|
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) {
|
function crash(page) {
|
||||||
if (CHROMIUM)
|
if (CHROMIUM)
|
||||||
page.goto('chrome://crash').catch(e => {});
|
page.goto('chrome://crash').catch(e => {});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue