MDL-75282 behat: Use more precise step definitions

Note: This should possibly be broken out into its own issue and applied
to stables.

Part of MDL-75966.
This commit is contained in:
Simey Lameze
2022-11-10 19:54:31 +08:00
committed by Andrew Nicols
parent 66d1651023
commit a512ba0b3c
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -331,14 +331,14 @@ Feature: Perform basic calendar functionality
And I click on "My own user event" "link"
Then I should see "User event"
And I should not see "Group 1"
And I click on "Edit" "button"
And I click on "Edit" "button" in the "My own user event" "dialogue"
And I set the following fields to these values:
| Event title | Site event |
| Type of event | site |
And I press "Save"
And I click on "Site event" "link"
And I should see "Site event"
And I click on "Edit" "button"
And I click on "Edit" "button" in the "Site event" "dialogue"
And I set the following fields to these values:
| Event title | Course 1 event |
| Type of event | course |
@@ -347,7 +347,7 @@ Feature: Perform basic calendar functionality
And I press "Save"
And I click on "Course 1 event" "link"
And I should see "Course 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 | Category event |
| Type of event | category |
@@ -52,7 +52,7 @@ Feature: In an assignment, teachers can edit feedback for a students previous su
And I click on "Grade" "link" in the "Student 2" "table_row"
And I click on "View a different attempt" "link"
And I click on "Attempt 1" "radio" in the "View a different attempt" "dialogue"
And I click on "View" "button"
And I click on "View" "button" in the "View a different attempt" "dialogue"
And I set the following fields to these values:
| Grade | 50 |
| Feedback comments | I'm the teacher second feedback |