-
Task
-
Resolution: Fixed
-
Minor
-
3.9.19
The goal is to add a behat test to verify a student can submit or edit a group assignment with "Require all members to submit" disabled/enabled
QA tests to be automated: MDLQA-4584 and MDLQA-4583
QA testing instructions
MDLQA-4583
This test requires a course set to group mode (visible or separate) and with two students in a group.
- Log in as a teacher in a course and create an assignment with the following settings:
- Online text = Yes
- Enable file submissions = Yes
- Max number of uploaded files = 1
- Require students to click submit button = Yes
- Students submit in groups = Yes
- Require all group members submit = Yes
- Group mode = Separate or visible
- Log in as student 1 and navigate to the assignment
- Verify you see your group name but not the names of other students
- Click "Add submission" ; add text, upload a file and save changes
- Verify that the Submission status says "Draft" and Student 1 and Student 2 are now shown as needing to submit
- Click the "submit assignment" button.
- Log in as Student 2 and navigate to the assignment
- Verify that the submission status is still "Draft" but only only Student 2 (you) is shown as needing to submit
- Edit the text; delete and replace the uploaded file and click "Submit assignment"
- Verify that the Submission status has now changed to "Submitted for grading"
MDLQA-4584
This test requires a course set to group mode (visible or separate) and with two students in a group.
- Log in as a teacher in a course and create an assignment with the following settings:
- Online text = Yes
- Enable file submissions = Yes
- Max number of uploaded files = 1
- Require students to click submit button = No
- Students submit in groups = Yes
- Group mode = Separate or visible
- Log in as Student 1 and navigate to the assignment
- Verify you see your group name but not the names of other students
- Click "Add submission" ; add text, upload a file and save changes
- Log in as Student 2 and navigate to the assignment.
- Verify that the Submission status shows "Submitted for grading"
- Verify that you see the "Edit submission" button and click on it
- Edit the text; delete and replace the uploaded file and save the changes.
- Log in as Student 1 and navigate to the assignment
- Verify that the Submission status shows "Submitted for grading", with the new changes from Student 2 displayed.
- has a QA test
-
MDLQA-4583 A student can submit or edit a group assignment with "Require all group members submit" enabled
-
- Open
-
-
MDLQA-4584 A student can submit or edit a group assignment with "Require all members to submit" disabled
-
- Open
-
- has been marked as being related by
-
MDL-77450 Optimize tests on group_submission.feature
-
- Closed
-