Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17933 Moodle 4.3 QA
  3. MDLQA-18427

CLONE - Improved searching and filtering in the question bank

    XMLWordPrintable

Details

    Description

      This is an exploratory test of a new feature or improvement, so please feel free to try anything you like and not just the test steps!

      Test scenario 1 - Apply filters in question bank view

      1. Go to 'Activity examples' course on the QA site
      2. Navigate back to the question bank
      3. Remove the default category from the Type of select selection in the question bank filter
      4. "Default for questions" in the category filter
      5. Click apply filters
      6. Confirm that the 8 questions of that category are visible
      7. Confirm that other questions from different categories not visible
      8. Change the selection to "Top for activity examples"
      9. Click apply filters
      10. Confirm that no questions are visible
      11. Check "also show questions from subcategories"
      12. Click apply filters
      13. Confirm that questions from all child categories are visible
      14. Press "Add condition"
      15. Set the new filter's "Select" menu to "Tag"
      16. Add the tag "Drag and drop" to the Tag filter
      17. Click apply filters
      18. Confirm that you only see the 2 questions tagged "drag and drop"
      19. Set the "Match" parameter of the tag filter to "None"
      20. Click apply filters
      21. Confirm that you only see the questions with tags other than "drag and drop"
      22. Set the "Match" parameter of the tag filter to "All"
      23. Add the tag "cloze" to the Tag filter
      24. Click apply filters
      25. Confirm that you see no questions
      26. Set the "Match" parameter of the tag filter to "Any"
      27. Click apply filters
      28. Confirm that you see all questions tagged with either "drag and drop" or "cloze"
      29. Press "Add condition"
      30. Set the new filter's "Select" menu to "Show question text in the question list?"
      31. Set the question text filter to "Yes"
      32. Click apply filters
      33. Confirm that you see the question text below each question
      34. Set the question text filter to "No"
      35. Click apply filters
      36. Confirm that you don't see the question text below each question
      37. Reload the page
      38. Confirm that the existing filters are re-applied
      39. Click "Clear Filters"
      40. Add the following filter conditions:
        1. Category: 3.0 new question types
        2. Show hidden questions: No
      41. Click "Apply filters"
      42. Delete the question "Recreate the river thames"
      43. You should not see the deleted question
      44. Set the "Show hidden questions" filter to "Yes"
      45. Click "Apply filters"
      46. You should now see the deleted question as well

      Test scenario 2 - Adding questions to a quiz from question bank

      1. Go to the above course and create a quiz
      2. Go to Quiz > Questions > Add question "from question bank"
      3. Set the Category filter to "Default for questions"
      4. Click apply filters
      5. Select questions
      6. Click on "Add selected questions to the quiz"
      7. Expected: those question are added to the quiz

      Test scenario 3 - Adding random questions  to a quiz

      1. Create another Quiz
      2. Go to Quiz > Questions > Add question using "a random question"
      3. Set the Category filter to "Default for questions"
      4. Click apply filters
      5. Scroll down and select number of random question
      6. Click on "Add random question"
      7. Expected: random questions are added to the quiz

      Test scenario 4 - filters persist via URL

      1. In the 'Activity examples' course, go to the question bank
      2. Apply a set of filters and take a note of their values
      3. Refresh the page
      4. The same filters should be re-applied
      5. Turn editing mode on and off
      6. The same filters should be re-applied each time
      7. Copy the URL and open it in a new browser, logging in if necessary
      8. The same filters should be re-applied

      Attachments

        1. screenshot-9.png
          screenshot-9.png
          158 kB
        2. screenshot-8.png
          screenshot-8.png
          200 kB
        3. screenshot-7.png
          screenshot-7.png
          149 kB
        4. screenshot-6.png
          screenshot-6.png
          184 kB
        5. screenshot-5.png
          screenshot-5.png
          126 kB
        6. screenshot-4.png
          screenshot-4.png
          222 kB
        7. screenshot-3.png
          screenshot-3.png
          51 kB
        8. screenshot-2.png
          screenshot-2.png
          168 kB
        9. screenshot-11.png
          screenshot-11.png
          313 kB
        10. screenshot-10.png
          screenshot-10.png
          75 kB
        11. screenshot-1.png
          screenshot-1.png
          169 kB

        Issue Links

          Activity

            People

              laurent.david@moodle.com Laurent David
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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