diff --git a/calendar/tests/behat/calendar_import.feature b/calendar/tests/behat/calendar_import.feature index 9b0853df04c..7d7d9b968f0 100644 --- a/calendar/tests/behat/calendar_import.feature +++ b/calendar/tests/behat/calendar_import.feature @@ -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"