Skip to content

Commit

Permalink
MDL-63196 core_calendar: add behat scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
lameze committed Mar 22, 2019
1 parent 5863a07 commit d1e488a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions calendar/tests/behat/export.feature
Expand Up @@ -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"
Expand Down

0 comments on commit d1e488a

Please sign in to comment.