Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16122 Moodle 4.0 QA
  3. MDLQA-16338

CLONE - Backup/Restore of groups with and without ID number permission

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Critical Critical
    • Moodle 4.0
    • Moodle 4.0
    • Groups
    • None

      Test Pre-requisites:

      Create Test Data

      1. As an admin, create a new course
      2. Create 4 new groups with those corresponding values:
        You will need to click on the 'Show advanced' button to set the Group ID number.
        Group name Group ID number
        group-id-1 group-id-1
        group-id-2 group-id-2
        group-noid-1  
        group-noid-2  
      1. Back on the groups page, click on the tab 'Groupings'
      2. Create 4 new groupings
        Grouping name Grouping ID number
        grouping-id-1 grouping-id-1
        grouping-id-2 grouping-id-2
        grouping-noid-1  
        grouping-noid-2  

      Test 1 steps:

      1. Navigate to Settings -> Course administration -> Backup
      2. Backup the course making sure you select 'User data' and set the filename to 'test_id_number.mbz'
      3. As an admin, navigate to Settings -> Course administration -> Users -> Groups
      4. Delete 'group-id-1' and 'group-noid-1'
      5. Switch to 'Groupings' and delete 'grouping-id-1' and 'groupind-noid-1'
      6. Navigate to Settings -> Course administration -> Restore
      7. Select 'Restore' for 'test_id_number.mbz'. Click continue.
      8. Restore using the button 'Continue' under 'Restore into this course' with 'Merge the backup course into this course' selected.
      9. Confirm that the groups and groupings have been created
      10. Confirm that 'group-id-1' and 'grouping-id-1' have a corresponding ID number
      11. Confirm that 'group-noid-1' and 'grouping-noid-1' don't have an ID number

      Test 2 steps:

      1. Enrol a teacher in the course
      2. Navigate to Settings -> Course administration -> Users -> Permissions
      3. Remove 'Teacher' from the permission 'moodle/course:changeidnumber'
      4. Navigate to Settings -> Course administration -> Users -> Groups
      5. Delete 'group-id-1' and 'group-noid-1'
      6. Switch to 'Groupings' and delete 'grouping-id-1' and 'groupind-noid-1'
      7. Log in as the teacher and navigate to Course administration -> Restore
      8. Select 'Restore' for 'test_id_number.mbz'. Click continue.
      9. Restore using the button 'Continue' under 'Restore into this course' with 'Merge the backup course into this course' selected.
      10. Confirm that 'group-id-1' and 'group-noid-1' have been created but none of them have an ID number
      11. Confirm that 'grouping-id-1' and 'grouping-noid-1' have been created but none of them have an ID number

        1. Screenshot from 2022-03-14 11-48-14.png
          86 kB
          Chen Levy
        2. Screenshot from 2022-03-14 11-51-09.png
          103 kB
          Chen Levy
        3. Screenshot from 2022-03-14 11-52-11.png
          68 kB
          Chen Levy
        4. Screenshot from 2022-03-14 11-52-28.png
          81 kB
          Chen Levy
        5. Screenshot from 2022-03-14 11-52-50.png
          68 kB
          Chen Levy
        6. Screenshot from 2022-03-14 12-05-10.png
          82 kB
          Chen Levy
        7. Screenshot from 2022-03-14 12-30-05.png
          101 kB
          Chen Levy
        8. Screenshot from 2022-03-14 12-30-20.png
          93 kB
          Chen Levy

            chenlevy Chen Levy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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