test: unflake owner frame test

This commit is contained in:
Yury Semikhatsky 2020-01-30 09:45:08 -08:00
parent f44d6607c3
commit 3ce38784c0

View file

@ -158,7 +158,7 @@ module.exports.describe = function({testRunner, expect, FFOX, CHROMIUM, WEBKIT})
it.skip(FFOX)('should work for adopted elements', async({page,server}) => {
await page.goto(server.EMPTY_PAGE);
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),
]);
const divHandle = await page.evaluateHandle(() => {