-
Functional Test
-
Minor
-
Moodle 4.3
-
None
This test requires admin access. If you would like to use the QA testing site for running it, 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!
Setup
- Two courses named C1 and C2
Restore as a new course
- As admin 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
- Go to C1 course homepage
- Go to 'Backup' option in course cog menu
- Confirm 'Include content bank content' options is checked
- Click on 'Jump to final step'
- Confirm the backup file is succesfully created and click Continue
- Download the new *.mbz back file
- Click on the 'Restore' link of the just created backup file
- Click on Continue
- Select a category and click in Continue in 'Restore as a new course' section
- Confirm 'Include content bank content' options is checked
- Click on 'Next'
- Click on 'Next' using default settings and then lick 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
Restore to an existing course (C2)
- Go to C1 course homepage
- Go to 'Restore' option in course cog menu
- Click on the 'Restore' link of backup file created in step 10
- Click on Continue
- Select 'C2' course in 'Restore into an existing course' section
- Confirm 'Include content bank content' options is checked
- Click on 'Next'
- Click on 'Next' using default settings and then click on 'Perform restore'
- Confirm the course is restored succesfully and click in 'Continue'
- Go to Content bank link in 'C2' 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
- is a QA test written for
-
MDL-68314 Backup and restore options for course level content bank
- Closed