MDL-59369 enrol: Fix add_to_group Behat tests

Tab to the next element after selecting groups in order for
the autocomplete element to close and be able to click on the
"Save changes" link.
This commit is contained in:
Jun Pataleta
2017-07-27 11:17:33 +08:00
parent 90ffcfa83a
commit 91b099dbed
+2 -1
View File
@@ -32,7 +32,8 @@ Feature: Users can be added to multiple groups at once
And I click on "Group 1" item in the autocomplete list
And I open the autocomplete suggestions list
And I click on "Group 2" item in the autocomplete list
And I click on "Save changes" "link"
And I press key "27" in the field "Edit groups for \"Student 1\""
And I click on "Save changes" "link" in the "student1" "table_row"
Then I should see "Group 1, Group 2"
@javascript