Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: disable firefox crash tests (#2301)

Dmitry Gozmanfbccd328ccd0
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 => {});