MDL-49412 report_loglive: Fix behat failures

Part of MDL-45774.
This commit is contained in:
Ankit Agarwal 2015-03-30 12:26:29 +05:30 committed by Adrian Greeve
parent 7a437e3661
commit be53c87791

View file

@ -13,7 +13,7 @@ Feature: In a report, admin can see loglive data
And I click on "Enable" "link" in the "Legacy log" "table_row"
And the following config values are set as admin:
| loglegacy | 1 | logstore_legacy |
And I am on homepage
And I am on site homepage
And I follow "Course 1"
And I turn editing mode on
And I add a "Database" to section "3" and I fill the form with:
@ -33,7 +33,7 @@ Feature: In a report, admin can see loglive data
@javascript @_switch_window
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
Given I am on site homepage
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
@ -41,7 +41,7 @@ Feature: In a report, admin can see loglive data
And I press "Pause live updates"
And I follow "Course module created"
And I switch to "action" window
And I am on homepage
And I am on site homepage
And I follow "Course 1"
And I add a "Database" to section "3" and I fill the form with:
| Name | Test name2 |
@ -56,7 +56,7 @@ Feature: In a report, admin can see loglive data
@javascript @_switch_window
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
Given I am on site homepage
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
@ -64,7 +64,7 @@ Feature: In a report, admin can see loglive data
And I press "Pause live updates"
And I follow "course_add mod"
And I switch to "action" window
And I am on homepage
And I am on site homepage
And I follow "Course 1"
And I add a "Database" to section "3" and I fill the form with:
| Name | Test name2 |