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

A user can select more than one option in a Choice



    • Functional Test
    • Status: Open
    • Minor
    • Moodle QA non-runners
    • None
    • Choice, Teacher, User
    • None


      This test requires a course with a teacher and three students, students 1, 2 and 3.

      1) As the teacher, create a choice with the title 'Treat' and the description 'Choose your treat or treats below.'
      2) In the Options section, set 'Allow the choice to be updated' to Yes and 'Allow more than one choice to be selected' to Yes.
      3) Add three choices, Bread, Wine and Cheese, and leave all other settings as default and save the choice.
      4) Log in as student 1 and select Bread. Save.
      5) Log in as student 2 and select Bread and Wine. Save.
      6) Log in as student 3 and select Bread, Wine and Cheese.Save.
      7) Log in as the teacher, view the choices and verify the correct choices in steps 4-6 are displaying.
      8) Log back in as student 3, remove your original choices and just choose Bread. Save.
      9) Log back in as the teacher and verify the modified choices display correctly.




            Unassigned Unassigned
            0 Vote for this issue
            1 Start watching this issue