From 555cea38e7838f5c483456eaa2849eec206628a3 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Mon, 13 Mar 2023 19:03:31 -0700 Subject: [PATCH] test: unskip setContent with js disabled (#21644) Fixes #21574 --- tests/library/browsercontext-basic.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/library/browsercontext-basic.spec.ts b/tests/library/browsercontext-basic.spec.ts index 12d7a05eb9..53a1afbf86 100644 --- a/tests/library/browsercontext-basic.spec.ts +++ b/tests/library/browsercontext-basic.spec.ts @@ -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('

Hello

');