Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.5.7, 3.6.5, 3.7.1, 3.8
-
Component/s: Automated functional tests (behat)
-
Testing Instructions:
-
Affected Branches:MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
-
Fixed Branches:MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
-
Pull from Repository:
-
Pull 3.5 Branch:
MDL-66312-35 -
Pull 3.5 Diff URL:
-
Pull Master Branch:
MDL-66312-master -
Pull Master Diff URL:
Description
In the blur event for form-autocomplete we create a pendingPromise to ensure that behat does not move on to a next step.
However we are then adding .then conditions to that promise.
Unfortunately that means that we complete the M.util.js_complete before we actually select the item or close the list.
It's not a major bug, but it could theoretically cause some random failures and we should fix it.
Attachments
Issue Links
- Discovered while testing
-
MDL-63198 Autocomplete suggestions list closes on scroll (in modal dialogues only)
-
- Closed
-