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

An administrator can upload users to a cohort

    XMLWordPrintable

Details

    • Functional Test
    • Status: Open
    • Moodle QA non-runners
    • None
    • Groups
    • None

    Description

      1. Login as an administrator and go to Settings > Site administration > Users > Accounts > Cohorts.
      2. Create two cohorts with cohort ids of year3 and year4.
      3. Go to Settings > Site administration > Courses > Add/edit courses and create two courses math3 and math4.
      4. Add cohort sync as an enrolment method for math3 and choose the cohort year3.
      5. Add cohort sync as an enrolment method for math4 and choose the cohort year4.
      6. Go to Settings > Site administration > Users > Accounts > Upload users.
      7. Save the following information in a text file and then upload it to the site.

      username,password,firstname,lastname,email,cohort1
      tomjones,Pass1234*,Tom,Jones,tomjones@example.com,year3
      marysmith,Pass1234*,Mary,Smith,marysmith@example.com,year4
      bobjones,Pass1234*,Bob,Jones,bobjones@example.com,year3
      alicesmith,Pass1234*,Alice,Smith,alicesmith@example.com,year4

      8. Check that Tom and Bob have been added to the cohort year3, and Mary and Alice have been added to the cohort year4.
      9. Check that Tom and Bob are enrolled in the maths3 course, and that Mary and Alice are enrolled in the maths4 course.

      Attachments

        Issue Links

          Activity

            People

              nobody Nobody
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: