mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
parent
6b3e7faad5
commit
555cea38e7
@ -223,9 +223,8 @@ it('should not hang on promises after disabling javascript', async ({ browserNam
|
||||
expect(await page.evaluate(async () => 2)).toBe(2);
|
||||
});
|
||||
|
||||
it('setContent should work after disabling javascript', async ({ contextFactory, browserName, isLinux, headless }) => {
|
||||
it('setContent should work after disabling javascript', async ({ contextFactory }) => {
|
||||
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/18235' });
|
||||
it.fixme(browserName === 'webkit' && !headless, 'https://github.com/microsoft/playwright/issues/21574');
|
||||
const context = await contextFactory({ javaScriptEnabled: false });
|
||||
const page = await context.newPage();
|
||||
await page.setContent('<h1>Hello</h1>');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user