Merge branch 'MDL-74866-311-behat' of https://github.com/HuongNV13/moodle into MOODLE_311_STABLE

This commit is contained in:
Jun Pataleta
2022-09-08 11:29:43 +08:00
+2 -3
View File
@@ -78,14 +78,13 @@ Feature: Import and edit calendar events
Scenario: Import iCalendar file with parameter.
Given I log in as "admin"
And I view the calendar for "7" "2022"
And I click on "Import or export calendars" "link"
And I press "Import calendar"
And I press "Manage subscriptions"
And I set the following fields to these values:
| Calendar name | Test Import |
| Import from | Calendar file (.ics) |
| Type of event | User |
And I upload "calendar/tests/fixtures/import_with_parameters.ics" file to "Calendar file (.ics)" filemanager
And I press "Import calendar"
And I press "Add"
When I view the calendar for "1" "7" "2022"
Then I should see "First event"
And I should see "Description of the first event"