-
Functional Test
-
Minor
-
Moodle 4.0
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.
- Log out as admin and log out as a student.
- Access the assignment created.
- Verify that the time is shown in the summary table.
- Click on 'Begin assignment'.
- Verify that a modal indicating how much time there is to complete the assignment is shown.
- Click on 'Begin assignment'.
- On the assessment submission page, verify that the time limit is shown in a block on the right hand side.
- Verify that the time limit counts down towards zero.
- Verify that if you leave then return to the assignment page, the summary table shows the time limit counting down.
- Verify that on the assignment submission and assignment summary page the time limit counter shows the "warning" style (orange/brown background color) when there is less than 15 minutes left.
- Verify that on the assignment submission and assignment summary page the time limit counter shows the "danger" (red background) style when there is less than 5 minutes left.