2 Feature: We can view the logs for any changes to grade letters.
3 In order to view changes the letter boundary of a course
5 I need to add make changes and then view the logs.
7 Scenario: I override the letter boundaries and check the logs.
8 Given the following "courses" exist:
9 | fullname | shortname | category |
11 And I log in as "admin"
12 And I am on "Course 1" course homepage
13 And I navigate to "Setup > Course grade settings" in the course gradebook
14 And I set the following fields to these values:
15 | Grade display type | Letter |
16 And I press "Save changes"
17 And I navigate to "Letters" in the course gradebook
18 And I follow "Edit grade letters"
19 And I set the following fields to these values:
21 | id_gradeboundary10 | 57 |
22 And I press "Save changes"
23 And I follow "Edit grade letters"
24 And I set the following fields to these values:
26 | id_gradeboundary10 | 50 |
27 And I press "Save changes"
28 And I follow "Edit grade letters"
29 And I set the following fields to these values:
31 | id_gradeletter11 | |
32 | id_gradeboundary11 | |
33 And I press "Save changes"
34 When I navigate to "Reports > Live logs" in site administration
35 Then I should see "Grade letter created"
36 And I should see "Grade letter updated"
37 And I should see "Grade letter deleted"