From 91b099dbed25b75bc90dedc13c271a022dbb25af Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Thu, 27 Jul 2017 09:50:12 +0800 Subject: [PATCH] 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. --- enrol/tests/behat/add_to_group.feature | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/enrol/tests/behat/add_to_group.feature b/enrol/tests/behat/add_to_group.feature index bdaf1bca1db..9e392448092 100644 --- a/enrol/tests/behat/add_to_group.feature +++ b/enrol/tests/behat/add_to_group.feature @@ -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