mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
MDL-59367 behat: Close the autocomplete
Close the auto complete suggestions list so it does not obscure the save changes button in chrome
This commit is contained in:
parent
b67caad9f5
commit
e640eb5cc3
@ -27,6 +27,7 @@ Feature: Edit user roles
|
||||
And I click on "Student 1's role assignments" "link"
|
||||
And I open the autocomplete suggestions list
|
||||
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"
|
||||
Then I should see "Student, Non-editing teacher" in the "Student 1" "table_row"
|
||||
|
||||
@ -37,5 +38,6 @@ Feature: Edit user roles
|
||||
And I navigate to course participants
|
||||
And I click on "Student 1's role assignments" "link"
|
||||
And I click on ".form-autocomplete-selection [aria-selected=true]" "css_element"
|
||||
And I press key "27" in the field "Student 1's role assignments"
|
||||
When I click on "Save changes" "link"
|
||||
Then I should see "No roles" in the "Student 1" "table_row"
|
||||
|
Loading…
x
Reference in New Issue
Block a user