1 |
efrain |
1 |
@core @core_grades
|
|
|
2 |
Feature: We can view the logs for any changes to grade scales.
|
|
|
3 |
In order to view changes grade scales
|
|
|
4 |
As an administrator
|
|
|
5 |
I need to add make changes and then view the logs.
|
|
|
6 |
|
|
|
7 |
Scenario: I edit scales and then view the logs.
|
|
|
8 |
Given I log in as "admin"
|
|
|
9 |
And I navigate to "Grades > Scales" in site administration
|
|
|
10 |
# Add a scale
|
|
|
11 |
And I press "Add a new scale"
|
|
|
12 |
And I set the following fields to these values:
|
|
|
13 |
| Name | Letterscale |
|
|
|
14 |
| Scale | F,D,C,B,A |
|
|
|
15 |
And I press "Save changes"
|
|
|
16 |
# Delete first scale
|
|
|
17 |
And I follow "Delete"
|
|
|
18 |
And I press "Continue"
|
|
|
19 |
# Edit first scale
|
|
|
20 |
And I follow "Edit"
|
|
|
21 |
And I set the following fields to these values:
|
|
|
22 |
| id_scale | ONE,TWO,THREE |
|
|
|
23 |
And I press "Save changes"
|
|
|
24 |
When I navigate to "Reports > Live logs" in site administration
|
|
|
25 |
Then I should see "Scale created"
|
|
|
26 |
And I should see "Scale updated"
|
|
|
27 |
And I should see "Scale deleted"
|