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 09:37:18 +08:00
parent b699da1461
commit c162f90445
No known key found for this signature in database
GPG Key ID: 0F58186F748E55C1
2 changed files with 2 additions and 1 deletions

View File

@ -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"

View File

@ -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"