test: unflake owner frame test (#760)

This commit is contained in:
Yury Semikhatsky 2020-01-30 10:50:25 -08:00 committed by GitHub
parent c9544b9b46
commit eb568046eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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(() => {