Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-82898

Behat test to verify that a group enrolment key may be used to automatically add users to the group (Automate MDLQA-144)

XMLWordPrintable

      QA test to be automated: MDLQA-144

      Testing instructions

      This test requires a course in which self-enrolment is allowed and for which an enrolment key has been set and 'Use group enrolment keys' is set to Yes.

      1. Log in as a teacher, access a course and follow the groups link either via the gear menu or the Administration block (depending upon your theme).
      2. Create a group and set a group enrolment key (make it different to the enrolment key).
      3. Log in as user1 (not yet enrolled in the course) and enrol in the course by supplying the course enrolment key.
      4. Log in as user2 (not yet enrolled in the course) and enrol in the course by supplying the group enrolment key.
      5. Log in as the teacher again, access the participants page and check that user2 is a member of the group whereas user1 is not.

      Please note: this test is partially covered by "Self-enrolment enabled requiring a group enrolment key", so maybe that test can be updated to verify that user2 is member of a group and user1 is not.

            andelacruz Angelia Dela Cruz
            lameze Simey Lameze
            Meirza Meirza
            Simey Lameze Simey Lameze
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour, 2 minutes
                1d 1h 2m

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