Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-15457 Moodle 3.11 QA
  3. MDLQA-15935

CLONE - An admin of a site using Microsoft SQL Server can enable a simple global search

    XMLWordPrintable

    Details

      Description

      This test must be run on a site using Microsoft SQL Server using a SQLSRV driver with full-text search enabled.

      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 'Manage global search' in the Site administration 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.
      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 on a block.
      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. MDLQA-15935 - results from search box header.png
          140 kB
          Carlos Escobedo
        2. MDLQA-15935 - search before dates.png
          103 kB
          Carlos Escobedo
        3. MDLQA-15935 - search before dates no results.png
          84 kB
          Carlos Escobedo
        4. MDLQA-15935 - search block.png
          25 kB
          Carlos Escobedo
        5. MDLQA-15935 - search box header.png
          103 kB
          Carlos Escobedo
        6. MDLQA-15935 - search double quotes.png
          78 kB
          Carlos Escobedo
        7. MDLQA-15935 - search filter dates.png
          107 kB
          Carlos Escobedo
        8. MDLQA-15935 - search in one course.png
          85 kB
          Carlos Escobedo
        9. MDLQA-15935 - search in search areas.png
          67 kB
          Carlos Escobedo
        10. MDLQA-15935 - search page module.png
          94 kB
          Carlos Escobedo
        11. MDLQA-15935 - search pagination.png
          80 kB
          Carlos Escobedo
        12. MDLQA-15935 - Settings.png
          89 kB
          Carlos Escobedo

          Issue Links

            Activity

              People

              Assignee:
              cescobedo Carlos Escobedo
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: