Merge branch 'MDL-79270-main-behat-fix' of https://github.com/lameze/moodle

This commit is contained in:
Sara Arjona 2023-12-13 08:19:43 +01:00
commit 19957a2882
No known key found for this signature in database
2 changed files with 8 additions and 5 deletions

View file

@ -90,7 +90,7 @@ Feature: An administrator can browse user accounts
| user3 | User | Three | three@example.com | 0 |
And I navigate to "Users > Accounts > Browse list of users" in site administration
Then I should see "Confirmation pending" in the "User Three" "table_row"
And I press "Resend email" action in the "User Three" report row
And I press "Resend confirmation email" action in the "User Three" report row
And I should see "Confirmation email sent successfully"
And I press "Confirm" action in the "User Three" report row
And I should not see "Confirmation pending" in the "User Three" "table_row"

View file

@ -42,10 +42,13 @@ Feature: Average grades are displayed in the gradebook
| student2 | C1 | student | suspended |
And I log in as "admin"
And I navigate to "Users > Accounts > Browse list of users" in site administration
And I set the following fields to these values:
| username | student5 |
And I press "Add filter"
And I click on "Delete" "link"
And I click on "Filters" "button"
And I set the following fields in the "Username" "core_reportbuilder > Filter" to these values:
| Username operator | Is equal to |
| Username value | student5 |
And I click on "Apply" "button" in the "[data-region='report-filters']" "css_element"
And I click on "Filters" "button"
And I press "Delete" action in the "Student 5" report row
And I press "Delete"
# Enable averages
And I am on the "Course 1" "grades > course grade settings" page