Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-11698 Moodle 3.5 QA testing
  3. MDLQA-12270

CLONE A teacher can add a list of questions to the Add a Random question dialog


    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • None
    • Moodle 3.5
    • Questions, Quiz
    • None

      Please test in both Boost and Clean themes.

      Set up

      1. Log in as admin
      2. Create a course (c1)
      3. Enrol a teacher (t1) in the course and give them the question sharer role (so that they have access to the course category questions)
      4. Create a quiz activity (quiz1) in c1
      5. View quiz1 and go to the question bank categories
        • cog icon > question bank > categories
      6. Add a sub category (c1 subcategory) to the “Default for c1” category
      7. Go to the questions tab in the question bank
      8. Create 10 questions (doesn’t matter the type) in the “Default for c1” category
        • Name the questions something that identifies the category, such as “c1 cat q1”, “c1 cat q2” etc
        • Give 5 of the questions the tag “c1”
      9. Create 1 question in the “c1 subcategory” category
        • Name it something identifiable like “sub c2 cat q1”
        • Give it the tags “c1” and “sub”
      10. Create 1 question in the category “Default for Miscellaneous”
        • Name it something identifiable like “misc cat q1”
        • Give it the tags “c1” and “misc”

      Testing the preview section

      1. Please test this on both Boost and Clean themes
      2. Log in as t1
      3. Go to quiz1 and edit it
      4. Open the “Add” menu and click “+ a random question” to open the modal
      5. CONFIRM that the modal has two tabs, “Existing category” and “New category”
      6. CONFIRM that each tab has two buttons at the bottom, a cancel button and another button
      7. In the “Existing category” tab modify the filters with various combinations and CONFIRM that the preview section behaves according to the following in each case:
        • There is a sentence stating the number of questions that match the filter, e.g. “There are 10 questions matching this filter” or “There are no questions matching this filter”
        • The sets of questions are displayed in a tabbed list where each page has no more than 5 questions in it
        • The questions displayed match the filters selected, e.g. they have all tags selected, they belong to the category selected, and sub categories aren’t included unless the checkbox is checked

        1. example01.jpg
          53 kB
        2. example02.jpg
          59 kB
        3. example03.jpg
          53 kB
        4. example04.jpg
          64 kB
        5. example05.jpg
          51 kB
        6. example06.jpg
          55 kB
        7. MDLQA-12270.mp4
          5.34 MB
        8. MDLQA-12270 retest.mp4
          4.49 MB
        9. QuestionTagsFilter.mp4
          3.92 MB

            lanceroe Lance Roe
            0 Vote for this issue
            2 Start watching this issue


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