MDL-69206 course: Tidy up behat test to avoid potential failures
authorMihail Geshoski <mihail@moodle.com>
Mon, 6 Jul 2020 09:34:17 +0000 (17:34 +0800)
committerMihail Geshoski <mihail@moodle.com>
Tue, 14 Jul 2020 04:11:50 +0000 (12:11 +0800)
course/tests/behat/search_recommended_activities.feature

index 202839d..414e62c 100644 (file)
@@ -8,7 +8,7 @@ Feature: Search recommended activities
     And I navigate to "Courses > Activity chooser > Recommended activities" in site administration
     When I set the field "search" to "assign"
     And I click on "Submit search" "button"
-    Then I should see "Search results: 1"
+    Then I should see "Search results"
     And "Assignment" "table_row" should exist
     And "Book" "table_row" should not exist