MDL-76445 gradereport_singleview: Fix Behat test

When you unenrol a user, the notification blocks some tertiary
navigation links.
This commit is contained in:
Ilya Tregubov
2023-06-14 11:38:04 +08:00
parent b699da1461
commit c162f90445
2 changed files with 2 additions and 1 deletions
@@ -256,6 +256,7 @@ Feature: We can use Single view
And I navigate to course participants
And I click on "Unenrol" "icon" in the "Gronya,Beecham" "table_row"
And I click on "Unenrol" "button" in the "Unenrol" "dialogue"
And I am on "Course 1" course homepage
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"
@@ -91,7 +91,7 @@ Feature: We can use the user report
And I navigate to "View > User report" in the course gradebook
And I click on "Student 1" 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 "Select a user above to view their report" in the "region-main" "region"
And I should not see "Student 1" in the "region-main" "region"