From 7e1ca773bb381d967dd883237138e4acfc22a24b Mon Sep 17 00:00:00 2001 From: Damyon Wiese Date: Tue, 16 Oct 2018 10:08:12 +0800 Subject: [PATCH] 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. --- enrol/tests/behat/role_visibility.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enrol/tests/behat/role_visibility.feature b/enrol/tests/behat/role_visibility.feature index 9e42d5537ec..794c17d36d1 100644 --- a/enrol/tests/behat/role_visibility.feature +++ b/enrol/tests/behat/role_visibility.feature @@ -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"