Línea 37... |
Línea 37... |
37 |
And I set the following settings for grade item "Test locked category" of type "category" on "setup" page:
|
37 |
And I set the following settings for grade item "Test locked category" of type "category" on "setup" page:
|
38 |
| Locked | 1 |
|
38 |
| Locked | 1 |
|
Línea 39... |
Línea 39... |
39 |
|
39 |
|
40 |
Scenario: Hidden grade items in locked category is hidden for teacher
|
40 |
Scenario: Hidden grade items in locked category is hidden for teacher
|
41 |
Given I am on the "Course 1" "grades > User report > View" page logged in as teacher1
|
41 |
Given I am on the "Course 1" "grades > User report > View" page logged in as teacher1
|
42 |
And I click on "Student 1" in the "user" search widget
|
42 |
And I click on "Student 1" in the "Search users" search combo box
|
43 |
When I set the field "View report as" to "Myself"
|
43 |
When I set the field "View report as" to "Myself"
|
44 |
Then the following should exist in the "user-grade" table:
|
44 |
Then the following should exist in the "user-grade" table:
|
45 |
| Grade item | Calculated weight | Grade | Range | Percentage | Contribution to course total |
|
45 |
| Grade item | Calculated weight | Grade | Range | Percentage | Contribution to course total |
|
46 |
| Test locked category total | 100.00 % | 50.00 | 0–100 | 50.00 % | - |
|
46 |
| Test locked category total | 100.00 % | 50.00 | 0–100 | 50.00 % | - |
|