-
Functional Test
-
Minor
-
Moodle 4.1
This test requires admin access. If you would like to use the QA testing site for running it, please see the QA testing guide for details of how to request admin access. Begin just after the hourly reset to give yourself plenty of time to complete the test!
This is an exploratory test of a new feature or improvement, so please feel free to try anything you like and not just the test steps!
- Log in as admin and enable 'Site administration > Plugins > Activity modules > Assignment settings > Enable timed assignments' setting.
- Create a new assignment, enable 'Time limit' setting and set to 15 minutes.
- Access the assignment created and confirm the time is shown in the summary table.
- Navigate to 'Overrides' option.
- Click on 'Add user override', select 'student' user, change time limit to 20 minutes and Save.
- Log out as admin and log out as 'student' user.
- Access the assignment created.
- Confirm Time limit is 20 minutes in the summary table.
- Click on 'Begin assignment'.
- Confirm a modal indicates student has to complete the assignment in 20 minutes.
- Click on 'Begin assignment'.
- On the assessment submission page, the time limit should be shown in a block on the right hand side.
- The time limit should start on 20 minutes and count down to zero.
- If the student returns to the assignment page, the summary table should now show the time limit counting down
- On the assignment submission and assignment summary page the time limit counter should show the "warning" style (orange/brown background color) when there is less than 15 minutes left.
- On the assignment submission and assignment summary page the time limit counter should show the "danger" (red background) style when there is less than 5 minutes left.