Skip to content

Commit

Permalink
MDL-38020 behat: Correct singleselect usage
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols authored and danpoltawski committed Jan 12, 2016
1 parent a1013a8 commit c57542a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions enrol/tests/behat/manage_enrolments_from_participants.feature
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,14 @@ Feature: Manage enrollments from participants page
And I follow "Course 1"
And I navigate to "Participants" node in "Current course > C1"

@javascript
Scenario: Check the participants link when "All partipants" selected
Given I set the field "roleid" to "All participants"
Given I select "All participants" from the "roleid" singleselect
When I follow "Edit"
Then I should see "Enrolled users" in the "h2" "css_element"
And the field "Role" matches value "All"

@javascript
Scenario: Check the participants link when "Student" selected
Given I set the field "roleid" to "Student"
Given I select "Student" from the "roleid" singleselect
When I follow "Edit"
Then I should see "Enrolled users" in the "h2" "css_element"
And the field "Role" matches value "Student"

0 comments on commit c57542a

Please sign in to comment.