| Server IP : 104.21.80.248 / Your IP : 162.159.115.41 Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586 User : SYSTEM ( 0) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Inetpub/www/myschool/triamudom/tuprblearn/grade/tests/behat/ |
Upload File : |
@core @core_grades
Feature: We can view the logs for any changes to grade letters.
In order to view changes the letter boundary of a course
As an administrator
I need to add make changes and then view the logs.
Scenario: I override the letter boundaries and check the logs.
Given the following "courses" exist:
| fullname | shortname | category |
| Course 1 | C1 | 0 |
And I log in as "admin"
And I am on "Course 1" course homepage
And I navigate to "Setup > Course grade settings" in the course gradebook
And I set the following fields to these values:
| Grade display type | Letter |
And I press "Save changes"
And I navigate to "Letters" in the course gradebook
And I follow "Edit grade letters"
And I set the following fields to these values:
| id_override | 1 |
| id_gradeboundary10 | 57 |
And I press "Save changes"
And I follow "Edit grade letters"
And I set the following fields to these values:
| id_override | 1 |
| id_gradeboundary10 | 50 |
And I press "Save changes"
And I follow "Edit grade letters"
And I set the following fields to these values:
| id_override | 1 |
| id_gradeletter11 | |
| id_gradeboundary11 | |
And I press "Save changes"
When I navigate to "Reports > Live logs" in site administration
Then I should see "Grade letter created"
And I should see "Grade letter updated"
And I should see "Grade letter deleted"