Skip to content

Commit

Permalink
test: disable flaky CSP test on Firefox (#2374)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgozman committed May 28, 2020
1 parent 057ae14 commit 11d53ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/page.spec.js
Expand Up @@ -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;
Expand Down

0 comments on commit 11d53ad

Please sign in to comment.