New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove most waitForTimeout
usage from the scripting integration tests
#17974
base: master
Are you sure you want to change the base?
Remove most waitForTimeout
usage from the scripting integration tests
#17974
Conversation
/botio integrationtest |
/botio integrationtest |
(I'm deferring to @calixteman on this.) |
@calixteman Do you perhaps have time to review this PR and #17969? Those should already give us more stable integration tests and we can then continue with the final |
190123c
to
e0a8c40
Compare
waitForTimeout
usage from the scripting integration testswaitForTimeout
usage from the scripting integration tests
8d7e437
to
10121c2
Compare
I have rebased the patch, updated it to use @calixteman You can best view the changes since the last review in https://github.com/mozilla/pdf.js/compare/8d7e4378fbe70961dd7503077aab14b31644dae0..10121c2060f1f8bc9b2c896122b36221592edf22#diff-c0973b2c3b147db1eccd21c6b1af307f33a7e5d2658b4a0738a2386470b9c0ca (since the whole interdiff is a bit big due to the rebase). |
/botio integrationtest |
0f35367
to
7f64fae
Compare
This commit replaces most `waitForTimeout` occurrences with calls to `waitForFunction` or `waitForSandboxTrip`. Note that the occurrences in the "must check that focus/blur callbacks aren't called" test remain until we find a good way to ensure that nothing happened after the tab switches (because currently we can't be sure that nothing happens since there is nothing to await).
7f64fae
to
0985f7b
Compare
/botio integrationtest |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @timvandermeij received. Current queue size: 0 Live output at: http://54.241.84.105:8877/02f3f99a2dd0165/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @timvandermeij received. Current queue size: 0 Live output at: http://54.193.163.58:8877/f52ea60ecf1beaa/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/02f3f99a2dd0165/output.txt Total script time: 7.39 mins
|
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/f52ea60ecf1beaa/output.txt Total script time: 17.94 mins
|
Nothing changed in this PR since #17974 (comment) other than a rebase onto the current master. @calixteman Gentle review ping; do you have additional feedback here or is it good to go like this? |
This commit replaces most
waitForTimeout
occurrences with calls towaitForFunction
orwaitForSandboxTrip
. Note that the occurrences in the "must check that focus/blur callbacks aren't called" test remain until we find a good way to ensure that nothing happened after the tab switches (because currently we can't be sure that nothing happens since there is nothing to await).Fixes a part of #17656.