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);
|
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.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 context = await contextFactory({ javaScriptEnabled: false });
|
||||||
const page = await context.newPage();
|
const page = await context.newPage();
|
||||||
await page.setContent('<h1>Hello</h1>');
|
await page.setContent('<h1>Hello</h1>');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue