-
Bug
-
Resolution: Fixed
-
Minor
-
4.2
Discovered while peer reviewing MDL-77414.
The mod/assign/tests/behat/group_submission.feature behat test needs to be refactored a bit as it's missing the Background section, it's also full of copy paste steps, creating same courses, users, groups and activities every single scenario.
We should look into move all the data generators steps to the Background sections, investigate if we can use Scenario Outline for some of those and other possible improvements eg. removing unnecessary steps, use data generators and etc.
Side note: Let's record the execution time before/after the changes... pretty sure it will be a good few seconds.
- has a non-specific relationship to
-
MDL-77414 Behat to verify a student can submit or edit a group assignment depending of "Require all members to submit" setting (Automate MDLQA-4584, MDLQA-4583)
-
- Closed
-