test(webkit): add failing test for navigating after disabling javascript (#215)

This commit is contained in:
Joel Einbinder 2019-12-11 15:04:02 -08:00 committed by Yury Semikhatsky
parent d86c51b293
commit 78847c2f52

View File

@ -838,6 +838,10 @@ module.exports.addTests = function({testRunner, expect, headless, playwright, FF
await page.goto('data:text/html, <script>var something = "forbidden"</script>');
expect(await page.evaluate('something')).toBe('forbidden');
});
it.skip(WEBKIT)('should be able to navigate after disabling javascript', async({page, server}) => {
await page.setJavaScriptEnabled(false);
await page.goto(server.EMPTY_PAGE);
});
});
describe('Page.setCacheEnabled', function() {