-
Functional Test
-
Minor
-
Moodle 4.3
-
None
- Log in as a teacher and add an activity (any type) and a label to a section in the course.
- On the course page, in the "Availability" menu for the activity, select "Hide on course page".
- Check that the message "Hidden from students" is displayed.
- In the "Availability" menu for the activity, select "Show on course page"
- Check that there is no longer a message shown on the course page.
- Edit the activity settings and check in the "Common module settings" that the "Availability" setting has two options: "Show on course page" and "Hide on course page"
- Go to the course page again and hide the section containing the activity and the label.
- Check that the message "Hidden from students" is displayed next to the section name.
- In the "Availability" menu for the activity, select "Make available but don't show on course page"
- Check that the message "Available but not shown on course page" is displayed.
- Copy the link of the activity, then in a separate browser log in as a student and check that you can access the activity.
- Go to the course page and check that a link to the activity is not shown.
- Return to the browser in which you are logged in as a teacher and edit the activity settings and check in the Common module settings that the "Availability" setting contains two options: "Hide on course page" and "Make available but don't show on course page".
- Edit the label settings and check in the Common module settings that the Availability setting has just one option - "Hide on course page".
- Log out as a teacher and log in as an admin and enable 'Allow activities to be available but not shown in visible sections of course page' (allowstealth) in the Site administration.
- Go back to the course and unhide (show) the section.
- Check that the message "Hidden from students" is no longer displayed.
- On the course page, in the "Availability" menu for the activity, select "Hide on course page"
- Check that the message "Hidden from students" is displayed.
- In the Edit menu for the activity, select "Make available".
- Check that the message "Available but not shown on course page" is displayed.
- In the Edit menu for the activity, select "Show".
- Check that there is no longer a message shown on the course page.
- Edit the activity settings and check in the Common module settings that the Availability setting contains three options - "Show on course page", "Hide on course page" and "Make available but not show on course page".
- duplicates
-
MDLQA-11538 CLONE - A teacher can choose to show or hide activities or make them available but not shown on the course page
- Passed
- has a non-specific relationship to
-
MDL-4782 allow resources/activities to be hidden but available/active
- Closed
- Testing discovered
-
MDL-79589 Activity availability dropdown does not show the selected option on hidden sections
- Closed