Details
-
Bug
-
Status: Reopened
-
Minor
-
Resolution: Unresolved
-
3.5.9, 3.6.7, 3.7.3, 3.8.1, 3.9
-
None
-
MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MDL-67658-master
-
Description
Improve use of our JS in behat with pending promise.
This issue covers a number of areas where I've encountered random behat failure because Behat was trying to perform the next action before the page had finished doing it's job.
Note: You may not be able to reproduce any of the original issues. Mostly they start to show up when we upgrade our webdriver. This is likely because newer versions of Firefox are more efficient than the versions we're testing against right now. It may also be due to performance improvements in the W3C webdriver vs. the JsonWire specification.