From 11d53ad529bbf38fb2da0ff9df239570e1b5a4cc Mon Sep 17 00:00:00 2001 From: Dmitry Gozman Date: Wed, 27 May 2020 19:59:49 -0700 Subject: [PATCH] test: disable flaky CSP test on Firefox (#2374) --- test/page.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/page.spec.js b/test/page.spec.js index 2eb0dd2eec..93823978a5 100644 --- a/test/page.spec.js +++ b/test/page.spec.js @@ -739,7 +739,7 @@ describe('Page.addScriptTag', function() { expect(await page.evaluate(() => __injected)).toBe(35); }); - it.fail(FFOX && WIN)('should throw when added with content to the CSP page', async({page, server}) => { + it.fail(FFOX)('should throw when added with content to the CSP page', async({page, server}) => { // Firefox fires onload for blocked script before it issues the CSP console error. await page.goto(server.PREFIX + '/csp.html'); let error = null;