MDL-76445 core_grades: Use group select instead of group search

On Moodle 4.1 we don't have group search on grader report.
That is only available in 4.2+
This commit is contained in:
Ilya Tregubov 2023-06-14 09:29:44 +08:00
parent f6650607d6
commit b699da1461
No known key found for this signature in database
GPG Key ID: 0F58186F748E55C1
2 changed files with 3 additions and 3 deletions

View File

@ -225,7 +225,7 @@ Feature: We can use Single view
And I navigate to "View > Single view" in the course gradebook
And I click on "Nee,Chumlee" in the "user" search widget
And I navigate to "View > Grader report" in the course gradebook
And I click on "Group 1" in the "group" search widget
And I select "Group 1" from the "group" singleselect
When I navigate to "View > Single view" in the course gradebook
Then I should see "Nee,Chumlee" in the "region-main" "region"
And I should not see "Select a user above to view all their grades" in the "region-main" "region"
@ -245,7 +245,7 @@ Feature: We can use Single view
And I navigate to "View > Single view" in the course gradebook
And I click on "Gronya,Beecham" in the "user" search widget
And I navigate to "View > Grader report" in the course gradebook
And I click on "Group 1" in the "group" search widget
And I select "Group 1" from the "group" singleselect
When I navigate to "View > Single view" in the course gradebook
Then I should see "Select a user above to view all their grades" in the "region-main" "region"
And I should not see "Gronya,Beecham" in the "region-main" "region"

View File

@ -64,7 +64,7 @@ Feature: We can use the user report
And I navigate to "View > User report" in the course gradebook
And I click on "Student 2" in the "user" search widget
And I navigate to "View > Grader report" in the course gradebook
And I click on "Group 1" in the "group" search widget
And I select "Group 1" from the "group" singleselect
When I navigate to "View > User report" in the course gradebook
Then I should see "Student 2" in the "region-main" "region"
And I should not see "Select a user above to view their report" in the "region-main" "region"