Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17933 Moodle 4.3 QA
  3. MDLQA-18234

CLONE - User can opt out of competency backup during backups

    XMLWordPrintable

Details

    • Functional Test
    • Minor
    • 4.3
    • 4.3
    • Competencies, Teacher
    • None

    Description

      Setup
      1. Login as admin.
      2. Navigate to Site administration ► Competencies ► Competency frameworks. (If you don't see Competency frameworks, go to Advanced features 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 More menu, choose Course reuse > 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 ► Advanced features.
      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 ► Advanced features.
      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 ► Advanced features 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-18234_Test 1_1.png
          MDLQA-18234_Test 1_1.png
          118 kB
        2. MDLQA-18234_Test 1_2.png
          MDLQA-18234_Test 1_2.png
          87 kB
        3. MDLQA-18234_Test 2_1.png
          MDLQA-18234_Test 2_1.png
          157 kB
        4. MDLQA-18234_Test 2_2.png
          MDLQA-18234_Test 2_2.png
          149 kB
        5. MDLQA-18234_Test 2_3.png
          MDLQA-18234_Test 2_3.png
          145 kB
        6. MDLQA-18234_Test 2_4.png
          MDLQA-18234_Test 2_4.png
          172 kB
        7. MDLQA-18234_Test 3_1.png
          MDLQA-18234_Test 3_1.png
          134 kB
        8. MDLQA-18234_Test 3_2.png
          MDLQA-18234_Test 3_2.png
          54 kB
        9. MDLQA-18234_Test 4_1.png
          MDLQA-18234_Test 4_1.png
          129 kB
        10. MDLQA-18234_Test 4_2.png
          MDLQA-18234_Test 4_2.png
          90 kB
        11. MDLQA-18234_Test 5_1.png
          MDLQA-18234_Test 5_1.png
          144 kB
        12. MDLQA-18234_Test 5_2.png
          MDLQA-18234_Test 5_2.png
          135 kB
        13. MDLQA-18234_Test 5_3.png
          MDLQA-18234_Test 5_3.png
          124 kB
        14. MDLQA-18234_Test 6_1.png
          MDLQA-18234_Test 6_1.png
          132 kB
        15. MDLQA-18234_Test 6_2.png
          MDLQA-18234_Test 6_2.png
          77 kB
        16. MDLQA-18234_Test 7_1.png
          MDLQA-18234_Test 7_1.png
          144 kB
        17. MDLQA-18234_Test 7_2.png
          MDLQA-18234_Test 7_2.png
          136 kB
        18. MDLQA-18234_Test 7_3.png
          MDLQA-18234_Test 7_3.png
          58 kB
        19. MDLQA-18234_Test 8_1.png
          MDLQA-18234_Test 8_1.png
          150 kB
        20. MDLQA-18234_Test 8_2.png
          MDLQA-18234_Test 8_2.png
          134 kB
        21. MDLQA-18234_Test 8_3.png
          MDLQA-18234_Test 8_3.png
          57 kB

        Activity

          People

            andelacruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.