Skip to content

Commit eb56804

Browse files
authored
test: unflake owner frame test (#760)
1 parent c9544b9 commit eb56804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/elementhandle.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ module.exports.describe = function({testRunner, expect, FFOX, CHROMIUM, WEBKIT})
158158
it.skip(FFOX)('should work for adopted elements', async({page,server}) => {
159159
await page.goto(server.EMPTY_PAGE);
160160
const [popup] = await Promise.all([
161-
page.waitForEvent('popup'),
161+
page.waitForEvent('popup').then(async popup => { await popup.waitForLoadState(); return popup; }),
162162
page.evaluate(url => window.__popup = window.open(url), server.EMPTY_PAGE),
163163
]);
164164
const divHandle = await page.evaluateHandle(() => {

0 commit comments

Comments
 (0)