From 8c2792cb5d100acaaf5730a81a43879698127389 Mon Sep 17 00:00:00 2001 From: Huong Nguyen Date: Thu, 8 Sep 2022 09:49:40 +0700 Subject: [PATCH] MDL-74866 core_calendar: Fix Behat failures --- calendar/tests/behat/calendar_import.feature | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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"