mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
02fda279ed
Definition step deprecated and affected tests modified.
28 lines
959 B
Gherkin
28 lines
959 B
Gherkin
@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"
|