mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: disable flaky CSP test on Firefox (#2374)
This commit is contained in:
parent
057ae14adc
commit
11d53ad529
@ -739,7 +739,7 @@ describe('Page.addScriptTag', function() {
|
|||||||
expect(await page.evaluate(() => __injected)).toBe(35);
|
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.
|
// Firefox fires onload for blocked script before it issues the CSP console error.
|
||||||
await page.goto(server.PREFIX + '/csp.html');
|
await page.goto(server.PREFIX + '/csp.html');
|
||||||
let error = null;
|
let error = null;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user