Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-11698 Moodle 3.5 QA testing
  3. MDLQA-12194

CLONE - User can opt out of competency backup during backups

    XMLWordPrintable

    Details

      Description

      Setup
      1. Login as admin.
      2. Navigate to Site administration ► Competencies ► Competency frameworks. (If you don't see Competency frameworks, go to Competencies settings and tick Enable competencies.)
      3. Click Add new competency framework
      4. Enter CF1 for Name.
      5. Enter cf1 for Id number
      6. Click Configure scales
      7. Tick any Scale value for the Default.
      8. Tick one or more Scale values for Proficient.
      9. Click Close
      10. Click Save changes
      11. On CF1's Competencies page, click on CF1 in the competencies tree (the one below the Search field) and on the right panel, click Add competency.
      12. Enter C1 for Name.
      13. Enter c1 for Id number.
      14. Click Save changes.
      15. Repeat the above process to create competencies C2 and C3.
      16. Create a course and enrol some students.
      17. Under Course administration, click Competencies.
      18. Click Add competencies to course.
      19. Select C1 and C2 then click Add.
      20. Back on the Course competencies page, click C1 to go to the user competency in course page.
      21. On the user competency in course page, click Rate.
      22. Selecting a Rating and click Rate.
      23. Do this for the other users and other competencies by selecting a user in Jump to user and/or Jump to competency selectors in the right panel.
      Backup with competencies included
      1. Under TC1's Course administration, click Backup.
      2. Check the Backup settings. Confirm that:
        • Include competencies is shown and is checked.
      3. Click Next to go to the Schema settings step, then click Next again to go to the Confirmation and review step.
      4. Enter BackupWithCompetencies.mbz for the Filename.
      5. Check the Backup settings. Confirm that:
        • Include competencies is shown and is checked.
      6. Click Perform backup
        • Confirm that the backup process finishes successfully.
      7. You may also opt to download the backup file.
      Restore with competencies included
      1. Under TC1's Course administration, click Restore.
      2. If you have downloaded BackupWithCompetencies.mbz, you may drag and drop it to the File picker under the Import a backup file section then click restore; or Click Restore for BackupWithCompetencies.mbz in the Course backup area section.
      3. Check the backup settings. Confirm that:
        • Include competencies is shown and is checked.
      4. Select Restore the as a new course then click Continue
      5. On the Settings step, check the Restore settings. Confirm that:
        • Include competencies is shown and is checked.
      6. Click Next to proceed to the Schema step and enter TC2 for the Course short name field.
      7. Then click Next again to proceed to the review step.
      8. On the Review step, check the Backup settings. Confirm that:
        • Include competencies is shown and is checked.
      9. Click Perform restore.
        • Confirm that the course is restored successfully.
      10. Click Continue to get redirected to TC2.
      11. Under Course administration, click Competencies.
        • Confirm that C1 and C2 are listed in the course competencies list.
      12. Click on C1 to go to the user competency in course page.
      13. Select the user that was previously rated using the Jump to user selector field.
        • Confirm that the rating has been preserved.
      Restore not including competencies
      1. Repeat the above restore steps, but this time when you arrive to the Settings step, uncheck Include competencies and proceed as usual.
      2. On the Review step, check the Backup settings. Confirm that:
        • Include competencies is shown and is NOT checked.
      3. Perform the restore.
        • Confirm that the course is restored successfully.
      4. Navigate to the restored course.
      5. Under Course administration, click Competencies.
        • Confirm that the course competencies list is empty.
      Backup with competencies not included
      1. Backup TC1, but this time uncheck Include competencies on the first step.
      2. On the Confirmation and review step, enter BackupWithoutCompetencies.mbz for the Filename.
      3. Check the Backup settings. Confirm that:
        • Include competencies is shown and is NOT checked.
      4. Click Perform backup
        • Confirm that the backup process finishes successfully.
      5. You may also opt to download the backup file.
      Restore with competencies not included
      1. Under TC1's Course administration, click Restore.
      2. If you have downloaded BackupWithoutCompetencies.mbz, you may drag and drop it to the File picker under the Import a backup file section then click restore; or Click Restore for BackupWithoutCompetencies.mbz in the Course backup area section.
      3. Check the backup settings. Confirm that:
        • Include competencies is shown and is NOT checked.
      4. Select Restore into an existing course and tick Delete the contents of the existing course and then restore and tick TC2, then click Continue
      5. On the Settings step, check the Restore settings. Confirm that:
        • Include competencies is shown and is NOT checked.
      6. Click Next to proceed to the Schema step and enter TC2 for the Course short name field.
      7. Then click Next again to proceed to the review step.
      8. On the Review step, check the Backup settings. Confirm that:
        • Include competencies is shown and is NOT checked.
      9. Click Perform restore.
        • Confirm that the course is restored successfully.
      10. Click Continue to get redirected to TC2.
      11. Under Course administration, click Competencies.
        • Confirm that the course competencies list is empty.
      Backup with competencies disabled.
      1. Navigate to Site administration ► Competencies ► Competency settings.
      2. Uncheck Enable competencies.
      3. Click Save changes.
      4. Navigate back to the course.
      5. Under TC1’s Course administration, click Backup
        • Confirm that Include competencies is NOT shown
      6. On the Confirmation and review step, enter BackupWithCompetenciesDisabled.mbz for the Filename.
      7. Check the Backup settings. Confirm that:
        • Include competencies is NOT shown
      8. Click Perform backup
        • Confirm that the backup process finishes successfully.
      9. You may also opt to download the backup file.
      Restore backup with competencies disabled
      1. Navigate to Site administration ► Competencies ► Competency settings.
      2. Mark Enable competencies as checked.
      3. Click Save changes.
      4. Under TC1's Course administration, click Restore.
      5. If you have downloaded BackupWithCompetenciesDisabled.mbz, you may drag and drop it to the File picker under the Import a backup file section then click restore; or Click Restore for BackupWithoutCompetencies.mbz in the Course backup area section.
      6. Check the backup settings. Confirm that:
        • Include competencies is shown and is NOT checked.
      7. Select Restore into an existing course and tick Delete the contents of the existing course and then restore and tick TC2, then click Continue
      8. On the Settings step, check the Restore settings. Confirm that:
        • Include competencies is shown and is NOT checked.
      9. Click Next to proceed to the Schema step and enter TC2 for the Course short name field.
      10. Then click Next again to proceed to the review step.
      11. On the Review step, check the Backup settings. Confirm that:
        • Include competencies is shown and is NOT checked.
      12. Click Perform restore.
        • Confirm that the course is restored successfully.
      13. Click Continue to get redirected to TC2.
      14. Under Course administration, click Competencies.
        • Confirm that the course competencies list is empty.
      Restore backup that contains competencies with competencies disabled.
      1. Navigate to Site administration ► Competencies ► Competency settings and disable competencies.
      2. Restore BackupWithCompetencies.mbz into TC2.
      3. In the Confirm step, confirm that:
        • Include competencies is shown and checked
      4. In the Settings step, confirm that:
        • Include competencies is NOT shown
      5. In the Review step, confirm that:
        • Include competencies is NOT shown
      6. After performing the restore, confirm that:
        • The course is restored successfully.
      7. Navigate to Site administration ► Competencies ► Competency settings and enable competencies.
      8. Under TC2's Course administration, click Competencies.
        • Confirm that the course competencies list is empty.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: