-
Task
-
Resolution: Fixed
-
Critical
-
4.2
The goal is to add a behat test to verify that groups can be added in the enrol cohort for course.
QA test to be automated: MDLQA-7648
QA testing instructions
- Create several cohorts on the site and assign some users to them
- Create a course and add an instance of enrol_cohort, select to create a new group
- Make sure the group was created
- Remove a user from this cohort and Add another user to the cohort
- Run cron
- Make sure the correct students are enrolled in the course and assigned in the group
- Add another instance of enrol_cohort with another cohort and without group
- Edit the instance and select to create a new group
- Make sure the group is created and users are added to it
Once done, please change the affected QA parent to MDLQA-5249