Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-1 Moodle QA testing
  3. MDLQA-17932

Improved searching and filtering in the question bank

    XMLWordPrintable

Details

    • Functional Test
    • Major
    • None
    • Moodle 4.3
    • Questions, Quiz

    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 and navigate to the question bank
      2. Remove the default category from the Type of select selection in the question bank filter
      3. "Default for questions" in the category filter and click apply filters
      4. Confirm that the 8 questions of that category are visible
      5. Confirm that other questions from different categories not visible
      6. Change the selection to "Top for activity examples" and click "Apply filters"
      7. Confirm that no questions are visible
      8. Check "also show questions from subcategories" and click apply filters
      9. Confirm that questions from all child categories are visible
      10. Press "Add condition" and set the new filter's "Select" menu to "Tag"
      11. Add the tag "Drag and drop" to the Tag filter and click "Apply filters"
      12. Confirm that you only see the 2 questions tagged "drag and drop"
      13. Set the "Match" parameter of the tag filter to "None" and click "Apply filters"
      14. Confirm that you only see the questions with tags other than "drag and drop"
      15. Set the "Match" parameter of the tag filter to "All"
      16. Add the tag "cloze" to the Tag filter and click "Apply filters"
      17. Confirm that you see no questions
      18. Set the "Match" parameter of the tag filter to "Any" and click "Apply filters"
      19. Confirm that you see all questions tagged with either "drag and drop" or "cloze"
      20. Reload the page and confirm that the existing filters are re-applied
      21. Click "Clear Filters"
      22. Add the following filter conditions:
        1. Category: 3.0 new question types
        2. Show hidden questions: No
      23. Click "Apply filters"
      24. Delete the question "Recreate the river thames"
      25. You should not see the deleted question
      26. Set the "Show hidden questions" filter to "Yes" and click "Apply filters"
      27. Confirm you 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" and click "Apply filters"
      4. Select some questions and click on "Add selected questions to the quiz"
      5. Confirm those question were 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. Confirm those random question were 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

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Clockify

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