test: unflake owner frame test (#760)
This commit is contained in:
parent
c9544b9b46
commit
eb568046eb
|
|
@ -158,7 +158,7 @@ module.exports.describe = function({testRunner, expect, FFOX, CHROMIUM, WEBKIT})
|
||||||
it.skip(FFOX)('should work for adopted elements', async({page,server}) => {
|
it.skip(FFOX)('should work for adopted elements', async({page,server}) => {
|
||||||
await page.goto(server.EMPTY_PAGE);
|
await page.goto(server.EMPTY_PAGE);
|
||||||
const [popup] = await Promise.all([
|
const [popup] = await Promise.all([
|
||||||
page.waitForEvent('popup'),
|
page.waitForEvent('popup').then(async popup => { await popup.waitForLoadState(); return popup; }),
|
||||||
page.evaluate(url => window.__popup = window.open(url), server.EMPTY_PAGE),
|
page.evaluate(url => window.__popup = window.open(url), server.EMPTY_PAGE),
|
||||||
]);
|
]);
|
||||||
const divHandle = await page.evaluateHandle(() => {
|
const divHandle = await page.evaluateHandle(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue