Skip to content

Commit

Permalink
MDL-48362 enrol: Correct singleselect use in behat test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Feb 29, 2016
1 parent dfc1884 commit da45d10
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions enrol/meta/tests/behat/enrol_meta.feature
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ Feature: Enrolments are synchronised with meta courses
Scenario: Add meta enrolment instance with groups
When I follow "Course 3"
And I navigate to "Enrolment methods" node in "Course administration > Users"
And I set the field "Add method" to "Course meta link"
And I press "Go"
And I select "Course meta link" from the "Add method" singleselect
And I set the following fields to these values:
| Link course | Course 1 |
| Add to group | Groupcourse 1 |
Expand Down Expand Up @@ -94,8 +93,7 @@ Feature: Enrolments are synchronised with meta courses
| Link course | Course 1 |
| Add to group | Groupcourse 1 |
And I press "Add method"
And I set the field "Add method" to "Course meta link"
And I press "Go"
And I select "Course meta link" from the "Add method" singleselect
And I set the following fields to these values:
| Link course | Course 2 |
And I press "Add method"
Expand Down

0 comments on commit da45d10

Please sign in to comment.