Repository navigation
test: deflake WOA tests - #23707
test: deflake WOA tests#23707
Conversation
| set npm_config_arch=arm64 | ||
| cd electron | ||
| node script/yarn test -- --enable-logging --verbose | ||
| FOR /L %%x IN (1,1,10) DO (node script/yarn test -- --enable-logging --verbose) |
There was a problem hiding this comment.
is this for debugging purposes?
There was a problem hiding this comment.
LOL - yes - and why this PR is in draft
There was a problem hiding this comment.
I've run the tests locally on a WOA machine 10 times but I want to make sure its good to go through CI.
0accd80 to
4699fc0
Compare
| await emittedOnce(contents, 'did-finish-load'); | ||
| await new Promise((resolve) => { | ||
| contents.on('did-finish-load', resolve); | ||
| contents.on('did-frame-finish-load', resolve); |
There was a problem hiding this comment.
did-finish-load is just a special case of did-frame-finish-load, they are emitted in the same C++ method, I think only listening to did-frame-finish-load is enough.
There was a problem hiding this comment.
@zcbenz that is what I had originally, but for some reason on Windows, it was failing if I didn't listen for did-finish-load, but on ARM failing if I didn't listen for did-frame-finish-load.
|
No Release Notes |
|
/trop run backport |
|
The backport process for this PR has been manually initiated, here we go! :D |
|
I was unable to backport this PR to "7-3-x" cleanly; |
|
I was unable to backport this PR to "8-x-y" cleanly; |
|
I have automatically backported this PR to "10-x-y", please check out #23769 |
|
I have automatically backported this PR to "9-x-y", please check out #23770 |
Description of Change
This PR deflakes 3 tests that have been flaky on WOA as well as other platforms.
chromium features PDF Viewer opens when loading a pdf resource as top level navigationMenu.setApplicationMenu does not override null menu on startupdevtools extensions loads a devtools extension.Checklist
npm testpassesRelease Notes
Notes: none