Merge branch 'MDL-65087' of git://github.com/stronk7/moodle
authorJake Dallimore <jake@moodle.com>
Thu, 4 Apr 2019 03:37:07 +0000 (11:37 +0800)
committerJake Dallimore <jake@moodle.com>
Thu, 4 Apr 2019 03:37:07 +0000 (11:37 +0800)
grade/report/history/tests/behat/basic_functionality.feature

index 119bd08..06a9518 100644 (file)
@@ -61,7 +61,7 @@ Feature: A teacher checks the grade history report in a course
     # Test filtering by student.
     And I press "Select users"
     And I set the field with xpath "//form/input[@class='usp-search-field']" to "Student 1"
-    And I press "Search"
+    And I click on "Search" "button" in the "//div[@class='usp-search']" "xpath_element"
     And I set the field with xpath "//div[@class='usp-checkbox']/input" to "1"
     And I press "Finish selecting users"
     And I press "Submit"