MDL-80744 mod_assign: Fix Behat tests.

This commit is contained in:
Ilya Tregubov 2024-07-17 10:08:22 +08:00 committed by Huong Nguyen
parent f96778f74d
commit 4ac3f6f8c7
No known key found for this signature in database
GPG Key ID: 40D88AB693A3E72A
3 changed files with 3 additions and 1 deletions

View File

@ -21,6 +21,7 @@ Feature: Teacher can unhide grades on the edit page allowing students to view th
| assign | C1 | assign1 | Test assignment name | Test assignment description | 1 |
And I am on the "Test assignment name" "assign activity" page logged in as teacher1
And I follow "View all submissions"
And I change window size to "large"
And I click on "Grade" "link" in the "Student 1" "table_row"
And I set the following fields to these values:
| Grade out of 100 | 50 |

View File

@ -23,6 +23,7 @@ Feature: Check that any changes to assignment feedback comments are not lost
| assign | Test assignment name | C1 | 1 |
And I am on the "Test assignment name" Activity page logged in as teacher1
And I follow "View all submissions"
And I change window size to "large"
And I click on "Grade" "link" in the "Student 1" "table_row"
When I set the following fields to these values:
| Grade out of 100 | 101 |

View File

@ -263,7 +263,7 @@ Feature: Within the assignment submissions page, test that we can search for use
And I set the field "Search users" to "User"
And I press the up key
And I press the enter key
And I wait to be redirected
And I wait "1" seconds
And the following should exist in the "generaltable" table:
| -1- |
| Dummy User |