AutorÃa | Ultima modificación | Ver Log |
@core @core_courseFeature: Search recommended activitiesAs an admin I am able to search for activities in the "Recommended activities" admin setting pageScenario: Search results are returned if the search query matches any activity namesGiven I log in as "admin"And I am on site homepageAnd I navigate to "Courses > Activity chooser > Recommended activities" in site administrationWhen I set the field "search" to "assign"And I click on "Submit search" "button"Then I should see "Search results"And "Assignment" "table_row" should existAnd "Book" "table_row" should not existScenario: Search results are not returned if the search query does not match with any activity namesGiven I log in as "admin"And I am on site homepageAnd I navigate to "Courses > Activity chooser > Recommended activities" in site administrationWhen I set the field "search" to "random query"And I click on "Submit search" "button"Then I should see "Search results: 0"