MDL-59437 behat: old "edit" cog to go to enrollments page is gone

There use to be a little cot to easily navigate from the
participations page to the enrollments page.

In boost it was already hidden, but present and the test was still
working (non-javascript).

With the conversion, the functionality is 100% gone so, right now,
the only way to navigate from participats to enrollments (that will
dissappear with with unification), is using the course admin cog.
This commit is contained in:
Eloy Lafuente (stronk7) 2017-07-13 02:27:09 +02:00 committed by Damyon Wiese
parent af6d23853a
commit 28fcc33944

View File

@ -24,12 +24,12 @@ Feature: Manage enrollments from participants page
Scenario: Check the participants link when "All partipants" selected Scenario: Check the participants link when "All partipants" selected
Given I select "All participants" from the "roleid" singleselect Given I select "All participants" from the "roleid" singleselect
When I click on "Edit" "link" in the "region-main" "region" And I navigate to "Enrolled users" node in "Course administration > Users"
Then I should see "Enrolled users" in the "h2" "css_element" Then I should see "Enrolled users" in the "h2" "css_element"
And the field "Role" matches value "All" And the field "Role" matches value "All"
Scenario: Check the participants link when "Student" selected Scenario: Check the participants link when "Student" selected
Given I select "Student" from the "roleid" singleselect Given I select "Student" from the "roleid" singleselect
When I click on "Edit" "link" in the "region-main" "region" And I navigate to "Enrolled users" node in "Course administration > Users"
Then I should see "Enrolled users" in the "h2" "css_element" Then I should see "Enrolled users" in the "h2" "css_element"
And the field "Role" matches value "Student" And the field "Role" matches value "All"