From faa68960adefffdb33bf4a904f699a4d33a4f620 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Wed, 22 Mar 2023 10:03:48 +0800 Subject: [PATCH] MDL-76866 calendar: Make test more specific --- calendar/tests/behat/calendar.feature | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/calendar/tests/behat/calendar.feature b/calendar/tests/behat/calendar.feature index 8f2c46fe50c..85c69ab6ada 100644 --- a/calendar/tests/behat/calendar.feature +++ b/calendar/tests/behat/calendar.feature @@ -391,7 +391,7 @@ Feature: Perform basic calendar functionality And I click on "type change test event" "link" Then I should see "Course event" # Reset to user event - And I click on "Edit" "button" + And I click on "Edit" "button" in the "type change test event" "dialogue" And I set the following fields to these values: | Event title | type change test event | | Type of event | User | @@ -414,7 +414,7 @@ Feature: Perform basic calendar functionality And I click on "type change test event" "link" And I should see "Group event" # Reset to user event - And I click on "Edit" "button" + And I click on "Edit" "button" in the "type change test event" "dialogue" And I set the following fields to these values: | Event title | type change test event | | Type of event | User | @@ -422,7 +422,7 @@ Feature: Perform basic calendar functionality And I click on "type change test event" "link" And I should see "User event" # Now test changing from user to course event. - And I click on "Edit" "button" + And I click on "Edit" "button" in the "type change test event" "dialogue" And I set the following fields to these values: | Event title | Course 1 event | | Type of event | Course | @@ -432,7 +432,7 @@ Feature: Perform basic calendar functionality And I click on "Course 1 event" "link" And I should see "Course event" # Reset to user event - And I click on "Edit" "button" + And I click on "Edit" "button" in the "Course 1 event" "dialogue" And I set the following fields to these values: | Event title | type change test event | | Type of event | User | @@ -440,7 +440,7 @@ Feature: Perform basic calendar functionality And I click on "type change test event" "link" And I should see "User event" # Now test changing from user to category event. - And I click on "Edit" "button" + And I click on "Edit" "button" in the "type change test event" "dialogue" And I set the following fields to these values: | Event title | type change test event | | Type of event | Category |