This commit is contained in:
Andrew Nicols 2023-02-20 09:52:39 +08:00
commit 68169e1fb9
9 changed files with 10 additions and 10 deletions

View file

@ -42,7 +42,7 @@ Feature: Group searching functionality within the grader report.
Given I click on ".search-widget[data-searchtype='group']" "css_element"
And I confirm "Tutor group" in "group" search within the gradebook widget exists
And I confirm "Marker group" in "group" search within the gradebook widget exists
When I set the field "searchinput" to "tutor"
When I set the field "Search groups" to "tutor"
And I wait "1" seconds
Then I confirm "Tutor group" in "group" search within the gradebook widget exists
And I confirm "Marker group" in "group" search within the gradebook widget does not exist

View file

@ -25,7 +25,7 @@ Feature: Given we have opted to search for a grade item, Lets find and search th
When I click on ".search-widget[data-searchtype='grade']" "css_element"
Then I confirm "Test assignment one" in "grade" search within the gradebook widget exists
And I confirm "Test assignment two" in "grade" search within the gradebook widget exists
And I set the field "searchinput" to "two"
And I set the field "Search grade items" to "two"
And I wait "1" seconds
And I confirm "Test assignment two" in "grade" search within the gradebook widget exists
And I confirm "Test assignment one" in "grade" search within the gradebook widget does not exist

View file

@ -27,7 +27,7 @@ Feature: Within the singleview report, a teacher can search for users.
Then I confirm "Student 1" in "user" search within the gradebook widget exists
And I confirm "Student 2" in "user" search within the gradebook widget exists
And I confirm "Student 32" in "user" search within the gradebook widget exists
And I set the field "searchinput" to "2"
And I set the field "Search users" to "2"
And I wait "1" seconds
And I confirm "Student 2" in "user" search within the gradebook widget exists
And I confirm "Student 32" in "user" search within the gradebook widget exists

View file

@ -44,7 +44,7 @@ Feature: Group searching functionality within the user report.
And I click on ".search-widget[data-searchtype='group']" "css_element"
And I confirm "Tutor group" in "group" search within the gradebook widget exists
And I confirm "Marker group" in "group" search within the gradebook widget exists
When I set the field "searchinput" to "tutor"
When I set the field "Search groups" to "tutor"
And I wait "1" seconds
Then I confirm "Tutor group" in "group" search within the gradebook widget exists
And I confirm "Marker group" in "group" search within the gradebook widget does not exist

View file

@ -25,7 +25,7 @@ Feature: Within the User report, a teacher can search for users.
Then I confirm "Student 1" in "user" search within the gradebook widget exists
And I confirm "Student 2" in "user" search within the gradebook widget exists
And I confirm "Student 32" in "user" search within the gradebook widget exists
And I set the field "searchinput" to "2"
And I set the field "Search users" to "2"
And I wait "1" seconds
And I confirm "Student 2" in "user" search within the gradebook widget exists
And I confirm "Student 32" in "user" search within the gradebook widget exists