mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
test: unflake page test that was causing us a lot of CI flakes (#2993)
This commit is contained in:
parent
89f968b96a
commit
0c825de1f8
@ -781,8 +781,10 @@ module.exports.addTests = function({testRunner, expect, puppeteer, DeviceDescrip
|
|||||||
fulfill();
|
fulfill();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
frame.evaluate(() => window.stop());
|
await Promise.all([
|
||||||
await navigationPromise;
|
frame.evaluate(() => window.stop()),
|
||||||
|
navigationPromise
|
||||||
|
]);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user