test: reenable "return empty content there is no iframe src" in cr and ff (#34241)

This commit is contained in:
Yury Semikhatsky 2025-01-07 11:49:14 -08:00 committed by GitHub
parent 7923d35e32
commit 0008816ee3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

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