From fe051429f84ed46d85de53579bb830853aae04d3 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Fri, 18 Nov 2016 11:02:38 +1300 Subject: [PATCH] Fix calendar behat test on boost. --- tests/behat/calendar_features.feature | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/behat/calendar_features.feature b/tests/behat/calendar_features.feature index d325233..80d59f8 100644 --- a/tests/behat/calendar_features.feature +++ b/tests/behat/calendar_features.feature @@ -16,6 +16,7 @@ Feature: Test the calendar related features in the attendance module And I log in as "teacher1" And I follow "Course 1" And I turn editing mode on + And I add the "Upcoming events" block And I add a "Attendance" to section "1" and I fill the form with: | Name | Test attendance | And I log out @@ -30,9 +31,9 @@ Feature: Test the calendar related features in the attendance module | id_sestime_endhour | 02 | And I click on "id_submitbutton" "button" And I follow "Course 1" - And I follow "This month" + And I follow "Go to calendar" Then I should see "Test attendance" And I log out And I log in as "student1" - And I follow "This month" + And I follow "Go to calendar" Then I should see "Test attendance" \ No newline at end of file