This test requires a course with a teacher and student enrolled.
Tip: It is easiest to run this test using two browsers - one where you are logged in as the teacher and the other where you are logged in as the student. After updating the activity settings as the teacher, refresh the browser for the student to view the changes.
- Log in as the teacher, go to a course and add or edit a SCORM activity
- Try setting various 'Available from' and 'Available to' dates to dates in the past and in the future.
- Each time, after saving the changes, log in as the student and verify that the Timeline block on the Dashboard displays a link to the SCORM activity only when it is available, with the correct date and time for when it closes.
- Log in as the teacher, edit the SCORM settings, and unset 'Available to'.
- Log in as a student and verify that the SCORM activity is not displayed in in the Timeline block.
- is a QA test written for
MDL-58665 Avoid extra db queries when displaying some modules on dashboard