-
Functional Test
-
Minor
-
Moodle 4.1
-
None
This test should be run on a site using MySQL 5.6.4 or higher. If you would like to use the QA testing site for running this test, please see the QA testing guide for details of how to request admin access. Begin just after the hourly reset to give yourself plenty of time to complete the test!
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.
- Log in as admin and enable global search in 'Advanced features' in the Site administration.
- Go to 'Manage global search' in the Site administration and make sure the search engine is set to 'Simple search'.
- Go to 'Scheduled tasks' in the Site administration and run the 'Global search indexing' task via the link.
- In the search box (at the top of any page), enter a word or phrase to search for.
- Verify that the search results are as expected.
- Add a global search block to the front page and click the search icon to go to the search page.
- Try searching for items including single quotes and double quotes, each time verifying that the search results are as expected.
- 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.
- Try filtering the search and restricting the search area to a particular course, verifying that the search results are as expected.
- 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.
- is a QA test written for
-
MDL-53226 Add moodle DB search engine
- Closed