mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-73066 calendar: Behat test fixes
* Specify which close button is being clicked * Fill out course field when creating a group event
This commit is contained in:
parent
f65b92577a
commit
a119f8e09c
@ -82,13 +82,11 @@ Feature: Enable the calendar block in a course and test it's functionality
|
||||
And I turn editing mode on
|
||||
And I add the "Calendar" block
|
||||
And I click on "Full calendar" "link"
|
||||
And I click on "New event" "button"
|
||||
And I set the following fields to these values:
|
||||
| id_eventtype | Group |
|
||||
| id_name | Group Event |
|
||||
And I set the following fields to these values:
|
||||
| Group | Group 1 |
|
||||
And I press "Save"
|
||||
And I set the field "course" to "C1"
|
||||
And I create a calendar event:
|
||||
| Type of event | group |
|
||||
| Group | Group 1 |
|
||||
| Event title | Group Event |
|
||||
And I log out
|
||||
Then I log in as "student1"
|
||||
And I am on "Course 1" course homepage
|
||||
|
@ -188,7 +188,7 @@ Feature: Perform basic calendar functionality
|
||||
When I am viewing site calendar
|
||||
And I click on "New event" "button"
|
||||
Then the field "Type of event" matches value "User"
|
||||
And I click on "Close" "button"
|
||||
And I click on "Close" "button" in the "New event" "dialogue"
|
||||
And I set the field "course" to "C1"
|
||||
When I click on "New event" "button"
|
||||
Then the field "Type of event" matches value "Course"
|
||||
|
Loading…
x
Reference in New Issue
Block a user