Merge branch 'MDL-74866-311-behat' of https://github.com/HuongNV13/moodle into MOODLE_311_STABLE
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user