From: Simey Lameze Date: Tue, 22 Aug 2017 01:39:28 +0000 (+0800) Subject: MDL-59860 core_calendar: fix behat failures X-Git-Tag: v3.4.0-beta~432^2 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=1228bb6cad89a1588646deed2ac5109d62172c69;hp=e825859078e81b7b0fbca745139218ebe45ab025 MDL-59860 core_calendar: fix behat failures --- diff --git a/calendar/tests/behat/calendar.feature b/calendar/tests/behat/calendar.feature index 76e91f47651..368a04d33a9 100644 --- a/calendar/tests/behat/calendar.feature +++ b/calendar/tests/behat/calendar.feature @@ -65,7 +65,7 @@ Feature: Perform basic calendar functionality And I log out And I log in as "student2" And I follow "This month" - Then I should see "Really awesome event!" + Then I should not see "Really awesome event!" @javascript Scenario: Create a group event @@ -125,13 +125,13 @@ Feature: Perform basic calendar functionality And I press "Save" Then I should see "Mediocre event" + @javascript Scenario: Module events editing Given I log in as "admin" And I am on "Course 1" course homepage with editing mode on And the following "activities" exist: | activity | course | idnumber | name | intro | timeopen | timeclose | | choice | C1 | choice1 | Test choice 1 | Test choice description | ##yesterday## | ##tomorrow## | - And I add the "Calendar" block When I follow "This month" Then I should see "Choice Test choice 1 open" And I should see "Choice Test choice 1 close"