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

CLONE - A teacher can set user and group overrides in a lesson



    • Functional Test
    • Blocker
    • 4.3
    • 4.3
    • Groups, Lesson, Teacher
    • None


      This test requires a course containing a few users, groups and users in groups.

      Basic user overrides functionalities

      1. Create a lesson and note values of settings that can be overridden, including:
        • All the settings in the "Availability" section (Available from, Deadline, Time limit, Password)
        • In the "Flow control" section "Provide option to try a question again" and "Maximum number of attempts"
        • In the "Grade" section "Re-takes allowed"
      2. Create some user overrides, overriding some of the lesson settings and verify that they work as expected, in other words only this user is affected, and lesson settings are correctly overridden.
      3. Edit some of these overrides and verify the new values are taken into account.
      4. Verify duplicating a user override is working and if you can edit the duplicate without change to the original.
      5. Verify that if you create a new override for a user who already has one, they are merged when you save the second override.
      6. Verify that when you are on the edit override screen the "Save and enter another override" option enables you to create a new override based on the previous one and both are correctly saved.
      7. Verify that if you create an override for a student and then unenrol that student from the course, the override is displayed greyed out and a message "* Student does not have the correct group or role to view/attempt the lesson" is displayed below the overrides list.
      8. Hide the activity from students via the course home page
      9. Revisit the user overrides and verify that:
        • All actions are present for the respective override, namely 'edit', 'copy' and 'delete'
        • You see a notice explaining that the override is inactive
      10. Show the activity again via the course home page

      Basic group overrides functionalities

      1. Create some group overrides for the lesson.
      2. Verify only users in these groups are affected.
      3. Verify that if a user has both a group and a user override, the user one has precedence.
      4. Verify that if a user is member of 2 different groups and there are group overrides for each of these groups, the most relaxed settings are applied.
      5. Verify that if you delete a group for which there is an override created, it is correctly deleted (note that this doesn't apply to user overrides).
      6. Hide the activity from students via the course home page
      7. Revisit the group overrides and verify that:
        • All actions are present for the respective override, namely 'edit', 'copy' and 'delete'
      8. Show the activity again via the course home page


      1. Verify that a user with an override see the correct events in the calendar, and that if the override is edited, then calendar events are correctly updated.
      2. Verify that if a user or group override is deleted, corresponding calendar events are deleted.


        1. MDLQA-18179_Test 1_Step 1.png
          MDLQA-18179_Test 1_Step 1.png
          160 kB
        2. MDLQA-18179_Test 1_Step 2_1.png
          MDLQA-18179_Test 1_Step 2_1.png
          164 kB
        3. MDLQA-18179_Test 1_Step 2_2.png
          MDLQA-18179_Test 1_Step 2_2.png
          44 kB
        4. MDLQA-18179_Test 1_Step 3.png
          MDLQA-18179_Test 1_Step 3.png
          85 kB
        5. MDLQA-18179_Test 1_Step 4.png
          MDLQA-18179_Test 1_Step 4.png
          175 kB
        6. MDLQA-18179_Test 1_Step 5.png
          MDLQA-18179_Test 1_Step 5.png
          178 kB
        7. MDLQA-18179_Test 1_Step 6_1.png
          MDLQA-18179_Test 1_Step 6_1.png
          203 kB
        8. MDLQA-18179_Test 1_Step 6_2.png
          MDLQA-18179_Test 1_Step 6_2.png
          85 kB
        9. MDLQA-18179_Test 1_Step 7.png
          MDLQA-18179_Test 1_Step 7.png
          162 kB
        10. MDLQA-18179_Test 2_Step 1.png
          MDLQA-18179_Test 2_Step 1.png
          69 kB
        11. MDLQA-18179_Test 2_Step 2.png
          MDLQA-18179_Test 2_Step 2.png
          125 kB
        12. MDLQA-18179_Test 2_Step 3_1.png
          MDLQA-18179_Test 2_Step 3_1.png
          148 kB
        13. MDLQA-18179_Test 2_Step 3_2.png
          MDLQA-18179_Test 2_Step 3_2.png
          37 kB
        14. MDLQA-18179_Test 2_Step 4_1.png
          MDLQA-18179_Test 2_Step 4_1.png
          162 kB
        15. MDLQA-18179_Test 2_Step 4_2.png
          MDLQA-18179_Test 2_Step 4_2.png
          41 kB
        16. MDLQA-18179_Test 2_Step 5_1.png
          MDLQA-18179_Test 2_Step 5_1.png
          98 kB
        17. MDLQA-18179_Test 2_Step 5_2.png
          MDLQA-18179_Test 2_Step 5_2.png
          44 kB
        18. MDLQA-18179_Test 2_Step 7.png
          MDLQA-18179_Test 2_Step 7.png
          59 kB
        19. MDLQA-18179_Test 3_Step 1_1.png
          MDLQA-18179_Test 3_Step 1_1.png
          130 kB
        20. MDLQA-18179_Test 3_Step 1_2.png
          MDLQA-18179_Test 3_Step 1_2.png
          49 kB
        21. MDLQA-18179_Test 3_Step 2_1.png
          MDLQA-18179_Test 3_Step 2_1.png
          122 kB
        22. MDLQA-18179_Test 3_Step 2_2.png
          MDLQA-18179_Test 3_Step 2_2.png
          49 kB

        Issue Links



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




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