You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
959 B
27 lines
959 B
@core @core_grades
|
|
Feature: We can view the logs for any changes to grade scales.
|
|
In order to view changes grade scales
|
|
As an administrator
|
|
I need to add make changes and then view the logs.
|
|
|
|
Scenario: I edit scales and then view the logs.
|
|
Given I log in as "admin"
|
|
And I navigate to "Grades > Scales" in site administration
|
|
# Add a scale
|
|
And I press "Add a new scale"
|
|
And I set the following fields to these values:
|
|
| Name | Letterscale |
|
|
| Scale | F,D,C,B,A |
|
|
And I press "Save changes"
|
|
# Delete first scale
|
|
And I follow "Delete"
|
|
And I press "Continue"
|
|
# Edit first scale
|
|
And I follow "Edit"
|
|
And I set the following fields to these values:
|
|
| id_scale | ONE,TWO,THREE |
|
|
And I press "Save changes"
|
|
When I navigate to "Reports > Live logs" in site administration
|
|
Then I should see "Scale created"
|
|
And I should see "Scale updated"
|
|
And I should see "Scale deleted"
|
|
|