From 669d54a48c6c16679af8062bdc576c02e178e055 Mon Sep 17 00:00:00 2001 From: Marina Glancy Date: Thu, 25 Apr 2019 11:49:03 +0200 Subject: [PATCH] MDL-64573 calendar: behat fix, validation is now on client --- calendar/tests/behat/calendar.feature | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/calendar/tests/behat/calendar.feature b/calendar/tests/behat/calendar.feature index 22aed84b75e..cb681d0d532 100644 --- a/calendar/tests/behat/calendar.feature +++ b/calendar/tests/behat/calendar.feature @@ -169,14 +169,11 @@ Feature: Perform basic calendar functionality And I follow "This month" And I click on "New event" "button" When I click on "Save" "button" - Then I should see "Required" + Then I should see "Required" in the "Event title" "form_row" And I am on homepage And I follow "This month" And I click on "New event" "button" - And I set the field "Type of event" to "Course" - When I click on "Save" "button" - Then I should see "Required" - And I should see "Select a course" And I set the field "Event title" to "Really awesome event!" + And I set the field "Type of event" to "Course" When I click on "Save" "button" - Then I should see "Select a course" + And I should see "Select a course" in the "Course" "form_row" -- 2.43.0