-
Functional Test
-
Minor
-
Moodle 4.5
-
None
This is an exploratory test of a new feature or improvement, so please feel free to try anything you like and not just the test steps!
We encourage all testers to share their experiences and insights, even if a test has already been assigned. Your contributions are valuable and help improve the overall testing process.
Setup
Kindly note that the QA site is now ready for testing the new feature. If you're conducting this test on the QA site, you can skip this setup section.
- As admin, go to Site administration > Activity modules > Manage activities and enable Subsection module.
- Create a new course with several activities or restore the one attached to this issue
- Enrol a student and a teacher in the course.
Testing
- As teacher go to the Gremlins at sections course and turn edit mode on.
- Add a new subsection called "Subsection General" using the + icon:
- Add some activities to that subsection.
- In the More menu, select "Course reuse" and then click on the "Backup" link.
- Click the "Next" button to go to the second step of the process (selecting course structure elements).
- Confirm the subsections are shown in the correct position of the course structure and it's indented.
- Uncheck "Subsection general"
- Confirm that both "Subsection general" and "Subsection content" checkboxes are now disabled.
- Check again "Subsection general" and uncheck "Subsection content"
- Confirm that only the checkboxes from "Subsection content" are now disabled.
- Check again "Subsection content" and uncheck the "User data" on "Subsection general"
- Confirm that the "User data" checkboxes from "Subsection content" and "Subsection content" are disabled.
- Check again the "User data" on "Subsection general" and uncheck the "User data" from "Subsection content"
- Confirm the "User data" from "Subsection content" is disabled.
- Check again the "User data" from "Subsection content"
- Confirm all subsection elements have the checkboxes enabled.
- Click "Jump to the final step" button to execute the backup
- If needed, run the instance cron to execute the backup in background.
- Confirm that no errors appear.
- Click on the continue button once the backup is done.
- Confirm the is the backup file in the course backup area.
- Go to the "Course reuse" page again but this time click the "Restore" link.
- Select the previous backup done and click on "Restore" link.
- Click continue to go to the destination step.
- Select some category from the "Restore as a new course" and click on continue.
- Click the "Next" button to go to the Schema step of the process.
- Confirm you can see the subsections without any error.
- Uncheck "Subsection general"
- Confirm that both "Subsection general" and "Subsection content" checkboxes became disabled.
- Check again "Subsection general" and uncheck "Subsection content"
- Confirm that only the checkboxes from "Subsection content" are now disabled.
- Check again "Subsection content" but now uncheck the "User data" on "Subsection general"
- Confirm that the user data checkboxes from "Subsection general" and "Subsection content" are disabled.
- Check again the "User data" on "Subsection general" and uncheck the "User data" from "Subsection content"
- Confirm the "User data" from "Subsection content" is disabled.
- Check again the "User data" from "Subsection content"
- Click the "Next" button to go to the review step.
- Click on the "Perform restore" button.
- If needed, run the instance cron to execute the restore in background
- Confirm that no errors appear.
- Click on the "Continue" button once the restore is done.
- Confirm the new course have the same structure as the original course.
- Create a new empty course and navigate to it.
- Navigate to the "Course reuse" and then click "Import" option
- Select the previous course backup as import data from and click on "Continue".
- Click on the "Jump to final step" to execute the import.
- Confirm that no errors appear.
- Click on the "Continue" button once the import is done.
- Confirm the course have the same structure as the original course (Please ignore the original news forum)
- Click on the "Subsection general" activity
- Confirm you see the subsection activity page with and the activities.