MDL-63196 core_calendar: add behat scenario

This commit is contained in:
Simey Lameze
2019-03-22 10:46:02 +08:00
parent 4c0ea3f45e
commit d9af5335c2
+8
View File
@@ -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"