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

CLONE - An admin of a site using MariaDB can enable a simple global search

    XMLWordPrintable

Details

    Description

      This test should be run on a site using MariaDB 10.0.5 or higher.

      This test requires a site with some users, courses, activities, resources and other content such as forum posts etc (as listed in 'Search areas' in the Site administration). Some items should be edited to include a word or phrase e.g. 'Moodle is cool!' which can then be searched for.

      1. Log in as admin and enable global search in 'Advanced features' in the Site administration.
      2. Go to 'Site administration > Plugins > Search > Manage global search' and make sure the search engine is set to 'Simple search'.
      3. Go to 'Scheduled tasks' in the Site administration and run the 'Global search indexing' task via the link 'Run now'.
        • If you can not run the task, verify that you set the 'pathtophp' under 'Site administration > Server > System paths'
      4. In the search box (at the top of any page), enter a word or phrase to search for.
      5. Verify that the search results are as expected.
      6. Add a global search block to the front page and click the search icon to go to the search page.
      7. Try searching for items including single quotes and double quotes, each time verifying that the search results are as expected.
      8. Try filtering the search and restricting the search area to a particular activity or other item, each time verifying that the search results are as expected.
      9. Try filtering the search and restricting the search area to a particular course, verifying that the search results are as expected.
      10. Try filtering the search and restricting the search area by entering modified after and before dates, each time verifying that the search results are as expected.

      Attachments

        1. 2023-09-25_13-13.png
          2023-09-25_13-13.png
          12 kB
        2. search_all.png
          search_all.png
          213 kB
        3. search_block.png
          search_block.png
          44 kB
        4. search_doublequote_all.png
          search_doublequote_all.png
          99 kB
        5. search_doublequote_partial.png
          search_doublequote_partial.png
          131 kB
        6. search_modfied_after_1.png.png
          search_modfied_after_1.png.png
          131 kB
        7. search_modfied_after_2.png
          search_modfied_after_2.png
          102 kB
        8. search_modfied_before_1.png
          search_modfied_before_1.png
          100 kB
        9. search_modfied_before_2.png
          search_modfied_before_2.png
          130 kB
        10. search_strict_course_activity.png
          search_strict_course_activity.png
          130 kB

        Issue Links

          Activity

            People

              meirza.arson@moodle.com Meirza
              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.