Skip to content

Commit

Permalink
test: reenable "return empty content there is no iframe src" in cr an…
Browse files Browse the repository at this point in the history
…d ff (microsoft#34241)
  • Loading branch information
yury-s authored Jan 7, 2025
1 parent 7923d35 commit 0008816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/page/page-set-content.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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>');
Expand Down

0 comments on commit 0008816

Please sign in to comment.