From 8b3090c13b911461982a28d25dd933fb9f50d3c7 Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Sun, 25 Oct 2015 21:13:08 +0100 Subject: [PATCH] MDL-51903 behat: move guest enrolment to new UI With MDL-30674 we missed to change this use from the old (course edition) UI to the new (enrolment methods) one. --- blocks/navigation/tests/behat/expand_courses_node.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blocks/navigation/tests/behat/expand_courses_node.feature b/blocks/navigation/tests/behat/expand_courses_node.feature index 8c6bdd63b8a..4e99a94e358 100644 --- a/blocks/navigation/tests/behat/expand_courses_node.feature +++ b/blocks/navigation/tests/behat/expand_courses_node.feature @@ -39,11 +39,11 @@ Feature: Expand the courses nodes within the navigation block And I log in as "admin" And I am on site homepage And I follow "Course 2" - And I turn editing mode on - And I click on "Edit settings" "link" in the "Administration" "block" + And I navigate to "Enrolment methods" node in "Course administration > Users" + And I click on "Edit" "link" in the "Guest access" "table_row" And I set the following fields to these values: | Allow guest access | Yes | - And I press "Save and display" + And I press "Save changes" And I log out @javascript -- 2.11.4.GIT