MDL-49412 report_loglive: Fix behat failures
authorAnkit Agarwal <ankit@moodle.com>
Mon, 30 Mar 2015 06:56:29 +0000 (12:26 +0530)
committerAdrian Greeve <adrian@moodle.com>
Fri, 10 Apr 2015 09:18:22 +0000 (17:18 +0800)
Part of MDL-45774.

report/loglive/tests/behat/loglive_report.feature

index 3ec38ea..44daf7b 100644 (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 |