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: reenable "return empty content there is no iframe src" in cr and ff (#34241)
Yury Semikhatsky0008816ee365
diff --git a/tests/page/page-set-content.spec.ts b/tests/page/page-set-content.spec.tsindex 4f0c903bfc..27fe18c860 100644--- a/tests/page/page-set-content.spec.ts+++ b/tests/page/page-set-content.spec.ts@@ -123,8 +123,8 @@ it('content() should throw nice error during navigation', async ({ page, server}});-it('should return empty content there is no iframe src', async ({ page }) => {- it.fixme(true, 'Hangs in all browsers because there is no utility context');+it('should return empty content there is no iframe src', async ({ page, browserName }) => {+ it.fixme(browserName === 'webkit', 'Hangs in all browsers because there is no utility context');await page.setContent(`<iframe src="javascript:console.log(1)"></iframe>`);expect(page.frames().length).toBe(2);expect(await page.frames()[1].content()).toBe('<html><head></head><body></body></html>');