mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-63303 behat: Behat fixes
This commit is contained in:
parent
f42e85cc86
commit
705003beae
16 changed files with 28 additions and 28 deletions
|
@ -44,7 +44,7 @@ Feature: availability_group
|
|||
Then "Group" "button" should exist in the "Add restriction..." "dialogue"
|
||||
|
||||
# Page P1 any group.
|
||||
Given I click on "Group" "button"
|
||||
Given I click on "Group" "button" in the "Add restriction..." "dialogue"
|
||||
And I set the field "Group" to "(Any group)"
|
||||
And I click on ".availability-item .availability-eye img" "css_element"
|
||||
And I set the following fields to these values:
|
||||
|
@ -61,7 +61,7 @@ Feature: availability_group
|
|||
| Page content | x |
|
||||
And I expand all fieldsets
|
||||
And I click on "Add restriction..." "button"
|
||||
And I click on "Group" "button"
|
||||
And I click on "Group" "button" in the "Add restriction..." "dialogue"
|
||||
And I set the field "Group" to "G1"
|
||||
And I click on ".availability-item .availability-eye img" "css_element"
|
||||
And I click on "Save and return to course" "button"
|
||||
|
@ -74,7 +74,7 @@ Feature: availability_group
|
|||
| Page content | x |
|
||||
And I expand all fieldsets
|
||||
And I click on "Add restriction..." "button"
|
||||
And I click on "Group" "button"
|
||||
And I click on "Group" "button" in the "Add restriction..." "dialogue"
|
||||
And I set the field "Group" to "G2"
|
||||
And I click on ".availability-item .availability-eye img" "css_element"
|
||||
And I click on "Save and return to course" "button"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue