MDL-63337 enrol: Fix behat test

The link to the course homepage now requires javascript, by directly navigating to the course page
we can still avoid the need for javascript in this test.
This commit is contained in:
Damyon Wiese 2018-10-16 10:08:12 +08:00
parent 5266994547
commit 7e1ca773bb

View File

@ -21,7 +21,7 @@ Feature: Test role visibility for the participants page
Scenario: Check the default roles are visible
Given I log in as "manager1"
And I follow "Course 1"
And I am on "Course 1" course homepage
When I navigate to "Users > Enrolled users" in current page administration
Then "Learner 1" row "Roles" column of "participants" table should contain "Student"
And "Teacher 1" row "Roles" column of "participants" table should contain "Teacher"