-
Functional Test
-
Minor
-
Moodle 3.6
This test requires a site containing a few courses in various course categories.
The test also requires admin access. 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!
This is an exploratory test of a new feature, so please feel free to try anything you like and not just the test steps!
- Log in as an admin and go to Site administration / Development / Experimental / Experimental settings and enable Context freezing.
- Go to a course and click 'Freeze this context' either via the Actions menu (cog icon) or the Administration block, depending upon the theme.
- Verify that the course is now read-only and that it is no longer possible to edit or change anything in it (including blocks).
- Click 'Unfreeze this context' either via the Actions menu (cog icon) or the Administration block, depending upon the theme.
- Verify that it is once again possible edit and make changes in the course.
- Turn editing on and add a HTML block to the course page.
- Configure the HTML block and enter a title and content then save changes.
- For the HTML block click 'Freeze this context' via the Actions menu.
- Verify that it is no longer possible to change the HTML block title or content.
- Add any activity to the course then click 'Freeze this context' either via the Actions menu in the activity or the Administration block depending upon the theme.
- Verify that it is no longer possible to edit the activity or add any text.
- Go to Site administration / Courses / Manage courses and categories and click 'Freeze this context' via the Actions menu for a course category.
- Verify that it is no longer possible to add or remove courses from the course category.
- Verify that it is not possible to edit or change anything in any courses in the course category.
- Go to Site administration / Development / Experimental / Experimental settings and disable Context freezing applies to administrators.
- Verify that you now have write access to all contexts which were frozen in previous steps of the test.
- has a non-specific relationship to
-
MDL-53566 Support freezing of categories, courses, activities contexts and their content
- Closed