mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
test(webkit): add failing test for navigating after disabling javascript (#215)
This commit is contained in:
parent
d86c51b293
commit
78847c2f52
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user