mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-49324 behat: Use singleselect step to select user
This commit is contained in:
parent
316d6574e2
commit
2b9361cdda
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ Feature: Control the aggregation of the scales
|
||||||
And I set the following settings for grade item "Course 1":
|
And I set the following settings for grade item "Course 1":
|
||||||
| Aggregation | <aggregation> |
|
| Aggregation | <aggregation> |
|
||||||
And I follow "User report"
|
And I follow "User report"
|
||||||
And I set the field "Select all or one user" to "Student 1"
|
And I select "Student 1" from the "Select all or one user" singleselect
|
||||||
Then the following should exist in the "user-grade" table:
|
Then the following should exist in the "user-grade" table:
|
||||||
| Grade item | Grade | Percentage | Contribution to course total |
|
| Grade item | Grade | Percentage | Contribution to course total |
|
||||||
| Grade me | 10.00 | 10.00 % | <gradecontrib> |
|
| Grade me | 10.00 | 10.00 % | <gradecontrib> |
|
||||||
|
@ -62,7 +62,7 @@ Feature: Control the aggregation of the scales
|
||||||
And I follow "Course 1"
|
And I follow "Course 1"
|
||||||
And I navigate to "Grades" node in "Course administration"
|
And I navigate to "Grades" node in "Course administration"
|
||||||
And I follow "User report"
|
And I follow "User report"
|
||||||
And I set the field "Select all or one user" to "Student 1"
|
And I select "Student 1" from the "Select all or one user" singleselect
|
||||||
And the following should exist in the "user-grade" table:
|
And the following should exist in the "user-grade" table:
|
||||||
| Grade item | Grade | Percentage | Contribution to course total |
|
| Grade item | Grade | Percentage | Contribution to course total |
|
||||||
| Grade me | 10.00 | 10.00 % | <gradecontrib2> |
|
| Grade me | 10.00 | 10.00 % | <gradecontrib2> |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue