-
Functional Test
-
Minor
-
None
-
Original - DO NOT REPORT TEST RESULTS HERE
-
None
Setup
This test requires admin access in two Moodle sites.
- Log in as an admin in one Moodle instance
- Create a course named C1
- Go to Content bank link in C1 course (link is in the More option in the secondary navigation).
- Click 'Upload' button to create a new content
- Upload helloworld.h5p file and Save changes
Backup and restore INCLUDING content bank
- Go to C1 course homepage
- Go to 'Course reuse' option (link is in the More option in the secondary navigation).
- Confirm 'Include content bank content' options is checked
- Click on 'Jump to final step'
- Confirm the backup file is successfully created and click Continue
- Download the new *.mbz back file
- Log in as an admin in a different empty Moodle instance
- Go to Site administration > Courses > Restore course
- Import the backup file downloaded in step 11 and click on 'Restore'
- Confirm 'Include content bank content' is checked.
- Click on 'Continue'
- Select a category and click in Continue in 'Restore as a new course' section
- Confirm 'Include content bank content' is checked.
- Click on 'Next'
- Click on 'Next' using default settings
- Click on 'Perform restore'
- Confirm the course is restored successfully and click in 'Continue'
- Go to Content bank link in the new course (link is in the More option in the secondary navigation).
- Confirm 'helloworld.h5p' content is there
- Click on 'helloworld.h5p' content
- Confirm the image of the Earth is shown and there's no error
Backup and restore EXCLUDING content bank
- Repeat the test above, but this time uncheck 'Include content bank content' option during the course backup (step 3)
- On step 10 confirm the 'Include content bank content' is not checked.
- Go to Content bank link in the new course (link is in the More option in the secondary navigation).
- Confirm the content bank is empty
- has a clone
-
MDLQA-14768 CLONE - As an admin I want to backup my course including the content bank and restore in a different Moodle instance
- Passed
- is a QA test written for
-
MDL-68314 Backup and restore options for course level content bank
- Closed