MDL-80091 mod_assign: Fix failing behat test

This commit is contained in:
Mihail Geshoski
2025-04-01 11:34:16 +02:00
committed by Sara Arjona
parent 77b6cf7568
commit 1c8cc2b543
+4 -5
View File
@@ -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"