test: unskip setContent with js disabled (#21644)

Fixes #21574
This commit is contained in:
Yury Semikhatsky 2023-03-13 19:03:31 -07:00 committed by GitHub
parent 6b3e7faad5
commit 555cea38e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>');