Skip to content

Commit

Permalink
Merge branch 'MDL-59367-master-fix2' of http://github.com/damyon/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Jul 26, 2017
2 parents b67caad + e640eb5 commit 9e27e29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions user/tests/behat/edit_user_roles.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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"

0 comments on commit 9e27e29

Please sign in to comment.