From 54fec0c30bfaad37c8bdcd3fb4548e1bb7697ec0 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Thu, 21 Mar 2019 14:44:45 +0800 Subject: [PATCH] MDL-63196 core_calendar: add behat scenario --- calendar/tests/behat/export.feature | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/calendar/tests/behat/export.feature b/calendar/tests/behat/export.feature index c7e9cec94b1..00fb3a75f26 100644 --- a/calendar/tests/behat/export.feature +++ b/calendar/tests/behat/export.feature @@ -48,6 +48,14 @@ Feature: Export calendar events When I click on "Get calendar URL" "button" Then I should see "&preset_what=groups&" + Scenario: Generating calendar URL for category events + Given I follow "This month" + And I click on "Export calendar" "button" + And I set the field "Events related to categories" to "1" + And I set the field "Recent and next 60 days" to "1" + When I click on "Get calendar URL" "button" + Then I should see "&preset_what=categories&" + Scenario: Generating calendar URL for user events Given I follow "This month" And I click on "Export calendar" "button"