This commit is contained in:
Damyon Wiese 2014-04-15 13:16:15 +08:00
commit 12f8adbd25
3 changed files with 33 additions and 15 deletions

View file

@ -9,10 +9,10 @@ Feature: In a report, admin can see loglive data
| fullname | shortname | category | groupmode |
| Course 1 | C1 | 0 | 1 |
And I log in as "admin"
And I navigate to "Manage log stores" node in "Site administration > Plugins > Logging"
And I click on "Enable" "link" in the "Legacy log" "table_row"
And I set the following administration settings values:
| Log legacy data | 1 |
And I navigate to "Manage log stores" node in "Site administration>Plugins>Logging"
And I click on "Enable" "link" in the "Standard log" "table_row"
And I am on homepage
And I follow "Course 1"
And I turn editing mode on
@ -22,7 +22,7 @@ Feature: In a report, admin can see loglive data
@javascript
Scenario: Check loglive report entries and make sure the report works for standard and legacy reader
Given I navigate to "Live logs" node in "Site administration>Reports"
Given I navigate to "Live logs" node in "Site administration > Reports"
When I set the field "reader" to "Standard log"
Then I should see "Course module created"
And I should see "Test name"
@ -34,7 +34,7 @@ Feature: In a report, admin can see loglive data
@javascript
Scenario: Check loglive report entries and make sure the pause/resume button works for standard reader along with ajax calls
Given I am on homepage
When I navigate to "Live logs" node in "Site administration>Reports"
When I navigate to "Live logs" node in "Site administration > Reports"
And I set the field "reader" to "Standard log"
And I wait to be redirected
And I should not see "Test name2"
@ -57,7 +57,7 @@ Feature: In a report, admin can see loglive data
@javascript
Scenario: Check loglive report entries and make sure the pause/resume button works for legacy reader along with ajax calls
Given I am on homepage
When I navigate to "Live logs" node in "Site administration>Reports"
When I navigate to "Live logs" node in "Site administration > Reports"
And I set the field "reader" to "Legacy log"
And I wait to be redirected
And I should not see "Test name2"