mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-76010 behat: Move feature to use attempts generator
This moves away from manual attempts and uses the activity attempts generator instead. Quicker and not exposed to the problems with clicks, refreshes and missing attempts. Note that there is a small change in the attempt generator so, now, when a new attempt is created, if the activity has tracking enabled, the final result / grades are recalculated. That's the real behaviour when the activity settings are changes in the edition form and it's natural to get them recalculated without having to visit the form. Specifically, this allows the 1st scenario to pass, because in that scenario no changes to the form are being performed. Also, little detail, amend a dupe scenario name.
- Loading branch information
Showing
2 changed files
with
17 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters