Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-18443 Moodle 4.4 QA
  3. MDLQA-18508

CLONE - A teacher can add random questions to a quiz

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Blocker Blocker
    • Moodle 4.4
    • Moodle 4.4
    • Quiz, Teacher
    • None

      This test requires

      • a question category X containing 4 or more questions,
      • a category Y containing 2 or more questions, and
      • during the test you will create a third category called Z.
      1. Log in as a teacher and add a quiz activity.
      2. Go to the "Questions" tab.
      3. Click  "Add▾" "+ from question bank"
      4. Select a question from "Category X" in the "Select a category:" drop down.
      5. Click the button "Add selected questions to the quiz" to add one question to the quiz (non-randomly).
      6. Now click "Add▾" "+ a random question" and from the "Existing category" tab select "Category X" in the "Category" and add set "Number of random questions" to "2" and by clicking the button "Add random question" add 2 random questions to the quiz.
      7. Add one random question from category Y.
      8. Click "Add▾" "+ a random question" and select the "New category" tab to create a new "Category Z" with parent "Top" and click the button "Create category and add random question".
      9. Click the link "See questions" to navigate to the Z category and verify the category is empty. Create a new question in category Z.
      10. Click the "See questions" link for one of the other random questions, and check that the question bank display switches to that other category.
      11. Preview the quiz a few times. Check that
      • the non-random question is always the same;
      • the random questions for Category X are random, but do not duplicate the non-random question;
      • the random question for Category Y is random; and
      • the random question from the category Z is always the same. (We are testing that having only just enough questions in the category does not cause an error.)

        1. step00.png
          26 kB
          Adriano Ruseler
        2. step01.png
          12 kB
          Adriano Ruseler
        3. step02.png
          19 kB
          Adriano Ruseler
        4. step03.png
          17 kB
          Adriano Ruseler
        5. step04.png
          48 kB
          Adriano Ruseler
        6. step05.png
          27 kB
          Adriano Ruseler
        7. step06.png
          53 kB
          Adriano Ruseler
        8. step06b.png
          32 kB
          Adriano Ruseler
        9. step07a.png
          49 kB
          Adriano Ruseler
        10. step07b.png
          37 kB
          Adriano Ruseler
        11. step08a.png
          12 kB
          Adriano Ruseler
        12. step08b.png
          33 kB
          Adriano Ruseler
        13. step09.png
          33 kB
          Adriano Ruseler
        14. step09b.png
          34 kB
          Adriano Ruseler
        15. step10.png
          34 kB
          Adriano Ruseler
        16. step11a.png
          24 kB
          Adriano Ruseler
        17. step11b1.png
          32 kB
          Adriano Ruseler
        18. step11b2.png
          28 kB
          Adriano Ruseler
        19. step11c1.png
          26 kB
          Adriano Ruseler
        20. step11c2.png
          26 kB
          Adriano Ruseler
        21. step11d.png
          25 kB
          Adriano Ruseler
        22. step11e.png
          24 kB
          Adriano Ruseler

            ruseler Adriano Ruseler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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