diff --git a/mod/assign/tests/behat/filter_drafts.feature b/mod/assign/tests/behat/filter_drafts.feature index 54b1597ca95..88fe4dd8bc1 100644 --- a/mod/assign/tests/behat/filter_drafts.feature +++ b/mod/assign/tests/behat/filter_drafts.feature @@ -56,9 +56,8 @@ Feature: In an assignment, teachers can filter displayed submissions and see dra When I click on "[data-region=user-filters]" "css_element" And I set the field "filter" to "Draft" Then I should see "1 of 1" - And I should see "No users selected" - And I click on "[data-region=user-selector]" "css_element" - And I type "Student" And I should see "Student 2" - And I should not see "Student 1" - And I should not see "Student 3" + And I open the autocomplete suggestions list in the "[data-region=user-selector]" "css_element" + And I should see "Student 2" in the ".form-autocomplete-suggestions" "css_element" + And I should not see "Student 1" in the ".form-autocomplete-suggestions" "css_element" + And I should not see "Student 3" in the ".form-autocomplete-suggestions" "css_element"