test: disable page/page-set-content.spec.ts:126 in webkit (#16596)

The test started failing on WebKit after WebKit/WebKit@7de67f9 The cause is the same as in other browsers - missing utility context. Disabling the test in WebKit similar to the other browsers in order to prepare for the next webkit roll.

Related: #16536
This commit is contained in:
Yury Semikhatsky 2022-08-16 15:31:30 -07:00 committed by GitHub
parent 4840cae3b3
commit 8ebf9d7699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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, browserName }) => {
it.fixme(browserName === 'firefox' || browserName === 'chromium', 'Hangs in FF && CR because there is no utility context');
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');
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>');