-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
4.4
-
MOODLE_404_STABLE
There are many feature files using the step:
I add an X activity to course "Y" section "Z" and I fill the form with
Since MDL-79029, this step replaces the old one using the modchooser component.
I add a "X" to section "Y" and I fill the form with:
The new version is faster, does not require to be on a course pagem and does not need javascript. However, the replacement done in MDL-79029 did not evaluate if scenarios can be optimised.
This issue is about detecting all uses of the "I add X to cause Y..." steps and:
- Replace them by generators, if possible
- Remove the javascript tag to the scenario, if possible.
Technical shaping
Searching the steps is easy with a regexp: I add a(.*) activity to the course. Moreover, most of them are updates in the MDL-79029 commits.
- is blocked by
-
MDL-79029 Replace the behat steps I add a "X" to section "Y" with: I add a "X" to course "Y" section "Z"
-
- Closed
-