mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: disable flaky test on win firefox (#2332)
This commit is contained in:
parent
505d94ab1a
commit
2f993018ea
@ -739,8 +739,8 @@ describe('Page.addScriptTag', function() {
|
||||
expect(await page.evaluate(() => __injected)).toBe(35);
|
||||
});
|
||||
|
||||
// Firefox fires onload for blocked script before it issues the CSP console error.
|
||||
it('should throw when added with content to the CSP page', async({page, server}) => {
|
||||
it.fail(FFOX && WIN)('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;
|
||||
await page.addScriptTag({ content: 'window.__injected = 35;' }).catch(e => error = e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user