-
Functional Test
-
Minor
-
Moodle 3.10
-
None
This test requires admin access in order to set sessiontimeout in Site administration / Server / Session handling to 5 minutes.
If you would like to use the QA testing site for running the test, 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!
- Log in as a student and go to any page on the site.
- Wait until just before the session is due to time out - about 4 min 30 seconds.
- Verify you see the following warning:
No recent activity
Your session is about to time out. Do you want to extend your current session?
- Click "Cancel".
- Wait another 30 or 40 seconds.
- Verify you see an alert saying:
Session expired
Your session has timed out. Please log in again.
- Click OK
- Verify that the page is NOT reloaded. (This gives you a chance to copy any data you've not yet saved.)
- Log in again as the student and go to any page on the site.
- Wait until just before the session is due to time out - about 4 min 30 seconds.
- After seeing the 'No recent activity' warning, click "Extend".
- Wait another 30 or 40 seconds.
- Verify that you can continue to any page on the site (because your session is extended).
- Wait for at least 5 minutes so that the session times out.
- Verify you see the following warning:
No recent activity
Your session is about to timeout. Do you want to extend your current session?
- Click "Extend".
- Verify you see a session expired alert (because you have waited at least 5 minutes for the session to time out).
Session expired
Your session has timed out. Please log in again.
- Click OK.
- Verify that the page is NOT reloaded.
- is a QA test written for
-
MDL-34498 Session Timeout alert
- Closed