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

A teacher can enrol users and edit enrolments, roles and groups from the Participants page

    XMLWordPrintable

Details

    • Functional Test
    • Status: Open
    • Minor
    • Moodle QA non-runners
    • None
    • Enrolments, Groups, Teacher
    • None

    Description

      This test requires a course with groups set up and with a number of participants enrolled in it.

      1. Log in as a teacher, go to the course and view the list of participants via the Participants link in the navigation drawer/block.
      2. Click the 'Enrol users' button, select one or more users, then click the 'Enrol selected users' button. (If the site has a very large number of users, when you start typing, if it shows the message 'Too many users (>100) to show', keep typing until some users are displayed.)
      3. Verify that the selected users are listed as course participants.
      4. Try viewing a user's enrolment details by clicking the information icon in the status column.
      5. Verify that the details are displayed in a pop-up window.
      6. Try editing a user's enrolment by clicking the gear icon in the status column.
      7. Change the status to suspended and save changes.
      8. Verify that the user is listed with status 'Suspended'.
      9. Try editing a different user's enrolment and change the enrolment start date to a date in the future, then save changes.
      10. Verify that the user is listed with status 'Not current'.
      11. Try unenrolling a user by clicking the unenrol icon in the status column.
      12. Confirm that you want to unenrol the user, then verify that the user is no longer listed as a course participant.
      13. Try editing a user's roles by clicking the pencil icon in the roles column.
      14. Give the user the role of non-editing teacher then click the save changes icon.
      15. Verify that the user is listed with the role of non-editing teacher.
      16. Try editing a user's groups by clicking the pencil icon in the groups column.
      17. Select one or more groups then click the save changes icon.
      18. Verify that the selected groups are correctly listed for the user.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: