MDL-62949 calendar: Fix behat nav to calendar
authorAndrew Nicols <andrew@nicols.co.uk>
Fri, 20 Jul 2018 03:48:15 +0000 (11:48 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Fri, 20 Jul 2018 03:48:15 +0000 (11:48 +0800)
calendar/tests/behat/calendar.feature

index 5603daa..5483edb 100644 (file)
@@ -170,8 +170,8 @@ Feature: Perform basic calendar functionality
     And I click on "New event" "button"
     When I click on "Save" "button"
     Then I should see "Required"
-    And I am on site homepage
-    And I follow "Calendar"
+    And I am on homepage
+    And I follow "This month"
     And I click on "New event" "button"
     And I set the field "Type of event" to "Course"
     When I click on "Save" "button"