mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-56614 behat: Fixed steps to use new definition
This commit is contained in:
parent
be1b12490e
commit
9bad658aaf
8 changed files with 20 additions and 20 deletions
|
@ -33,7 +33,7 @@ Feature: We can bulk insert grades for students in a course
|
|||
Given I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
And I follow "Test assignment one"
|
||||
And I go to "View all submissions" in current page administration
|
||||
And I navigate to "View all submissions" in current page administration
|
||||
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 |
|
||||
|
@ -74,7 +74,7 @@ Feature: We can bulk insert grades for students in a course
|
|||
Given I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
And I follow "Test assignment two"
|
||||
And I go to "View all submissions" in current page administration
|
||||
And I navigate to "View all submissions" in current page administration
|
||||
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 |
|
||||
|
|
|
@ -44,12 +44,12 @@ Feature: View gradebook when scales are used
|
|||
And I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
And I follow "Test assignment one"
|
||||
And I go to "Edit settings" in current page administration
|
||||
And I navigate to "Edit settings" in current page administration
|
||||
And I expand all fieldsets
|
||||
And I set the field "grade[modgrade_type]" to "Scale"
|
||||
And I set the field "grade[modgrade_scale]" to "Letterscale"
|
||||
And I press "Save and display"
|
||||
And I go to "View all submissions" in current page administration
|
||||
And I navigate to "View all submissions" in current page administration
|
||||
And I click on "Grade" "link" in the "Student 1" "table_row"
|
||||
And I set the field "Grade" to "A"
|
||||
And I press "Save changes"
|
||||
|
|
|
@ -38,12 +38,12 @@ Feature: View gradebook when single item scales are used
|
|||
And I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
And I follow "Test assignment one"
|
||||
And I go to "Edit settings" in current page administration
|
||||
And I navigate to "Edit settings" in current page administration
|
||||
And I expand all fieldsets
|
||||
And I set the field "grade[modgrade_type]" to "Scale"
|
||||
And I set the field "grade[modgrade_scale]" to "Singleitem"
|
||||
And I press "Save and display"
|
||||
And I go to "View all submissions" in current page administration
|
||||
And I navigate to "View all submissions" in current page administration
|
||||
And I click on "Grade" "link" in the "Student 1" "table_row"
|
||||
And I set the field "Grade" to "A"
|
||||
And I press "Save changes"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue