Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test: unskip setContent with js disabled (#21644)
Yury Semikhatsky555cea38e783
diff --git a/tests/library/browsercontext-basic.spec.ts b/tests/library/browsercontext-basic.spec.tsindex 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 ({ browserNamexpect(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>');