- Internet Explorer 9 must be used to execute this test.
- Any course in Moodle where the teacher has set course Format to 'Topics' and the teacher has added at least two resources each to three sections. In each section:
- One activity is visible.
- One activity is hidden.
1. Login to Moodle as a Teacher and navigate to the course page.
2. Toggle the first section's visibility once and check that it is now dimmed and the icon changed, that both resources are also dimmed and that the show/hide icons for the resources are disabled.
3. Toggle the second section's visibility twice and verify that it dimmed with the first click, but become visible again with the second click. Also check that one resource should be shown, the other hidden and that both activities show/hide icons are clickable.
4. Toggle the third section's visibility thrice and verified that it ends up dimmed with the icon changed and that both resources are also be dimmed. Also verify that the show/hide icon for the resources is disabled.
5. Refresh the page confirm that your changes are preserved.
6. Navigate to a new browser tab and access the page. Verify that your changes have been preserved.
7. Navigate to a new browser window and access the page. Verify that your changes have been preserved.
8. Login as a student and verify that the correct sections are shown and hidden.
- is a QA test written for