MDL-59366 user: Be more specific on which autocomplete is being opened
authorJun Pataleta <jun@moodle.com>
Fri, 4 Aug 2017 01:12:19 +0000 (09:12 +0800)
committerJun Pataleta <jun@moodle.com>
Fri, 4 Aug 2017 01:15:50 +0000 (09:15 +0800)
* Specify that the autocomplete in the student's row in the
  participants table is being opened

user/tests/behat/edit_user_roles.feature

index 63d1532..90ff654 100644 (file)
@@ -25,7 +25,7 @@ Feature: Edit user roles
     And I am on "Course 1" course homepage
     And I navigate to course participants
     And I click on "Student 1's role assignments" "link"
-    And I open the autocomplete suggestions list
+    And I click on ".form-autocomplete-downarrow" "css_element" in the "student1" "table_row"
     And I click on "Non-editing teacher" item in the autocomplete list
     And I press key "27" in the field "Student 1's role assignments"
     When I click on "Save changes" "link"