Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.6
-
Fix Version/s: 2.6
-
Component/s: Automated functional tests (behat)
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_26_STABLE
-
Fixed Branches:MOODLE_26_STABLE
-
Pull from Repository:
-
Pull Master Branch:41988-26
-
Pull Master Diff URL:
Description
While working on course management behat tests I had a need to use spin.
I found there was one limitation, it uses sleep so the min wait time is 1s.
I needed to watch for a DOM change that would last for just 1s and as such came up with this modification.
Really it will allow us to tweak for performance more easily at a later date and at the same time also adds the ability to switch a closure for an array that maps to a class method to be called instead.