From 1c8cc2b5436f09c84fdc7bd0cb6e6022ec77eba3 Mon Sep 17 00:00:00 2001 From: Mihail Geshoski Date: Tue, 1 Apr 2025 17:10:14 +0800 Subject: [PATCH] MDL-80091 mod_assign: Fix failing behat test --- mod/assign/tests/behat/filter_drafts.feature | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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"