Repository navigation
UI tests to check that the file conflict dialogue disappears again - #29579
Conversation
11d3a6e to
1095ad8
Compare
Codecov Report
@@ Coverage Diff @@
## master #29579 +/- ##
=========================================
Coverage 61.71% 61.71%
Complexity 17482 17482
=========================================
Files 1047 1047
Lines 57714 57714
=========================================
Hits 35619 35619
Misses 22095 22095Continue to review full report at Codecov.
|
| } | ||
| $currentTime = microtime(true); | ||
| $end = $currentTime + (STANDARDUIWAITTIMEOUTMILLISEC / 1000); | ||
| while ($currentTime <= $end && ($count !== count($dialogs))) { |
There was a problem hiding this comment.
Note: this loop is needed because some dialogs have taken time to actually dismiss, e.g. after clicking the cancel button. So we try checking how many dialogs are still open. When it gets to the expected number, great. If it never reaches the expected number withing the timeout then the assertEquals() can fail - we have a "real" problem.
|
backport in #29585 |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
UI tests to check if the file-conflict pop-up disappears again
Related Issue
#29459
Motivation and Context
prevent future issues like #29459
How Has This Been Tested?
run locally and on travis
Types of changes
Checklist: