-
Functional Test
-
Minor
-
Moodle 4.3
-
None
- Log in as a teacher and create an assignment activity with file submissions as submission type and maximum number of uploaded files set to 2.
- Log out then log in as a student and go to the assignment.
Click the 'Add submission' button and verify that an area for dragging and dropping files is displayed. - Drag and drop a file into the area then save changes.
- Verify that the file is listed as a file submission.
- Click the button 'Edit submission'.
- Add another file, then save changes.
- Verify that the second file is listed as a file submission.
- Click the button 'Edit submission'.
- Attempt to add another file.
- Verify that it is not possible to add another file, as the maximum number of uploaded files is set to 2.