Skip to content

Commit

Permalink
MDL-76445 gradereport_singleview: Fix Behat test
Browse files Browse the repository at this point in the history
When you unenrol a user, the notification blocks some tertiary
navigation links.
  • Loading branch information
ilyatregubov committed Jun 14, 2023
1 parent b699da1 commit c162f90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions grade/report/singleview/tests/behat/singleview.feature
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion grade/report/user/tests/behat/view_usereport.feature
Expand Up @@ -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"
Expand Down

0 comments on commit c162f90

Please sign in to comment.