Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-14813 Moodle 3.10 QA
  3. MDLQA-15291

CLONE - User can opt out of competency backup during backups

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Passed
    • Priority: Minor
    • Affects Version/s: Moodle 3.10
    • Fix Version/s: Moodle 3.10
    • Component/s: Competencies, Teacher
    • Labels:
      None

      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 BackupWithCompetenciesDisabled.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

        1. MDLQA-15291 - restore with no comp - step 3 - competencies not checked.png
          MDLQA-15291 - restore with no comp - step 3 - competencies not checked.png
          408 kB
        2. MDLQA-15291 - restore with no comp - step 11 - no competencies.png
          MDLQA-15291 - restore with no comp - step 11 - no competencies.png
          95 kB
        3. MDLQA-15291 - restore with comp disabled - step 8 - empty competencies.png
          MDLQA-15291 - restore with comp disabled - step 8 - empty competencies.png
          97 kB
        4. MDLQA-15291 - restore with comp disabled - step 7 - enabled.png
          MDLQA-15291 - restore with comp disabled - step 7 - enabled.png
          90 kB
        5. MDLQA-15291 - restore with comp disabled - step 6 - restored successfully.png
          MDLQA-15291 - restore with comp disabled - step 6 - restored successfully.png
          100 kB
        6. MDLQA-15291 - restore with comp disabled - step 5 - review no comp.png
          MDLQA-15291 - restore with comp disabled - step 5 - review no comp.png
          384 kB
        7. MDLQA-15291 - restore with comp disabled - step 4 - no competencies.png
          MDLQA-15291 - restore with comp disabled - step 4 - no competencies.png
          314 kB
        8. MDLQA-15291 - restore with comp disabled - step 3 - checked.png
          MDLQA-15291 - restore with comp disabled - step 3 - checked.png
          405 kB
        9. MDLQA-15291 - restore with comp disabled - step 1 - disabled competencies.png
          MDLQA-15291 - restore with comp disabled - step 1 - disabled competencies.png
          90 kB
        10. MDLQA-15291 - restore - step 8 - check competencies included.png
          MDLQA-15291 - restore - step 8 - check competencies included.png
          369 kB
        11. MDLQA-15291 - restore - step 5 - review settings.png
          MDLQA-15291 - restore - step 5 - review settings.png
          322 kB
        12. MDLQA-15291 - restore - step 5 - restored successfully.png
          MDLQA-15291 - restore - step 5 - restored successfully.png
          101 kB
        13. MDLQA-15291 - restore - step 3 - include competencies .png
          MDLQA-15291 - restore - step 3 - include competencies .png
          410 kB
        14. MDLQA-15291 - restore - step 13 - rating preserved .png
          MDLQA-15291 - restore - step 13 - rating preserved .png
          142 kB
        15. MDLQA-15291 - restore - step 11 - confirm c1 and c2 in new course .png
          MDLQA-15291 - restore - step 11 - confirm c1 and c2 in new course .png
          327 kB
        16. MDLQA-15291 - restore not competencies - step 2 - no include competencies.png
          MDLQA-15291 - restore not competencies - step 2 - no include competencies.png
          373 kB
        17. MDLQA-15291 - restore no include competencies - step 5 - no competencies.png
          MDLQA-15291 - restore no include competencies - step 5 - no competencies.png
          95 kB
        18. MDLQA-15291 - backup - step 6 - backup successfully.png
          MDLQA-15291 - backup - step 6 - backup successfully.png
          134 kB
        19. MDLQA-15291 - backup - step 5 - Backup course review steps.png
          MDLQA-15291 - backup - step 5 - Backup course review steps.png
          369 kB
        20. MDLQA-15291 - backup - step 2 - Backup course - include competencies.png
          MDLQA-15291 - backup - step 2 - Backup course - include competencies.png
          320 kB
        21. MDLQA-15291 - backup no include competencies - step 3 - uncheck competencies.png
          MDLQA-15291 - backup no include competencies - step 3 - uncheck competencies.png
          372 kB

          Activity

            People

            Assignee:
            cescobedo Carlos Escobedo
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: