This test requires a course with a teacher and student enrolled.
- Log in as a teacher and create five choice activities as follows:
- Choice A (in the past) - enable 'Allow responses until' and set it to a date in the past (and optionally set 'Allow responses from' to a date in the past)
- Choice B (in progress) - set 'Allow responses until' to a date in the future (and optionally set 'Allow responses from' to a date in the past)
- Choice C (in progress) - set as for Choice B and also set 'Allow choice to be updated' to Yes
- Choice D (in the future) - set 'Allow responses from' to a date in the future
- Choice E (in the future) - set 'Allow responses from' to a date in the future and set 'Allow responses until' to a date further in the future
- Log in as a student and go to the Timeline block on the dashboard.
- Check that Choice A is not shown.
- Check that 'Choice B closes' and 'Choice C closes' are shown with dates and times as set for 'Allow responses until' and with links to the choice activities.
- Check that 'Choice D opens' is shown with the date and time as set for 'Allow responses from'.
- Check that 'Choice E closes' is shown with the date and time as set for 'Allow responses until'.
- Go to Choice B and submit a response.
- Check that Choice B is no longer shown in the Timeline block.
- Go to Choice C and submit a response.
- Check that Choice C is no longer shown in the Timeline block.
- is a QA test written for
-
MDL-63044 Split the Course Overview Block into two separate blocks; Timeline and Courses
- Closed