Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-5249 QA tests converted to behat
  3. MDLQA-13514

A teacher can select a group for members to be listed as potential badge recipients on the award badge page

    XMLWordPrintable

Details

    • Functional Test
    • Minor
    • None
    • Original - DO NOT REPORT TEST RESULTS HERE
    • Badges, Groups, Teacher
    • None

    Description

      The goal of this test is to verify the award badge page shows different options depending of the course group mode and the roles of the user (teacher x non-editing teacher)

      Requirements

      • A course with one teacher, one non-editing teacher and several students
      • A course badge with:
        • Criteria set to "manual issue by role" with Teacher and Non-editing teacher selected
        • Access enabled.
      • Several groups in the course, with students allocated to the groups
        • The non-editing teacher added to just one group

      Testing

      You'll need to check this as both teacher and non-editing teacher so I recommend you to have two windows (or different browsers): one logged in as teacher and other as non-editing teacher

      1. As teacher, edit the course settings and set the group mode to separate groups.
      2. Go to the award badge page (via Course administration > Manage Badges or More > Badges) and select Teacher as the role you would like to use to award the badge.
      3. Verify that the award badge page has a separate groups dropdown menu with options 'All participants' and all the groups in the course.
      4. Select one of the groups and verify that only those group members are listed as potential badge recipients.
      5. As non-editing teacher go to the award badge page, select "Non-editing teacher" as the role you would like to use to award the badge.
      6. Verify that the award badge page has a Separate groups label like Separate groups: [[group_name]] where [[group_name]] placeholder is the name of the group containing the non-editing teacher (as the non-editing teacher doesn't have the capability to view all groups).
      7. Verify that only those group members are listed as potential badge recipients.
      8. As teacher edit the course settings again and set the group mode to visible groups.
      9. Repeat steps 2 to 4, this time checking that the dropdown menu on the award badge page is labelled visible groups.
      10. As non-editing teacher repeat steps 2 to 4, checking that the dropdown menu on the award badge page is labelled visible groups with options 'All participants', the non-editing teacher's group listed under 'My groups' and all the other groups listed under 'Other groups'.
      11. As teacher, edit the course settings and set the group mode to no groups.
      12. Repeat steps 2 to 4 and verify that there's no groups dropdown menu on the award badge page and all students enrolled in the course are listed as potential badge recipients.
      13. As non-editing teacher repeat steps 2 to 4, this time checking that there is no groups dropdown menu on the award badge page and all students enrolled in the course are listed as potential badge recipients.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:

                Clockify

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