- {{/additionaloptions}}
+ {{{additionaloptions}}}
diff --git a/course/tests/behat/course_request.feature b/course/tests/behat/course_request.feature
index beb5988578b..480b0db706e 100644
--- a/course/tests/behat/course_request.feature
+++ b/course/tests/behat/course_request.feature
@@ -22,7 +22,7 @@ Feature: Users can request and approve courses
| moodle/course:request | allow |
When I log in as "user1"
And I am on course index
- And I click on "More actions" "button"
+ And I click on "More actions" "link"
And I click on "Request a course" "link"
And I set the following fields to these values:
| Course full name | My new course |
@@ -36,7 +36,7 @@ Feature: Users can request and approve courses
And I log out
And I log in as "user2"
And I am on course index
- And I click on "More actions" "button"
+ And I click on "More actions" "link"
And I click on "Courses pending approval" "link"
And the following should exist in the "pendingcourserequests" table:
| Requested by | Course short name | Course full name | Category | Reason for course request |
@@ -75,7 +75,7 @@ Feature: Users can request and approve courses
And I log in as "user1"
And I am on course index
And I follow "English category"
- And I click on "More actions" "button"
+ And I click on "More actions" "link"
And I click on "Request a course" "link"
And I should see "English category" in the ".form-autocomplete-selection" "css_element"
And I set the following fields to these values:
@@ -91,7 +91,7 @@ Feature: Users can request and approve courses
And I should not see "Courses pending approval"
And I am on course index
And I follow "Science category"
- And I click on "More actions" "button"
+ And I click on "More actions" "link"
And I click on "Courses pending approval" "link"
And I should not see "Mynewcourse"
And I press "Back to course listing"
@@ -99,7 +99,7 @@ Feature: Users can request and approve courses
And I log in as "user3"
And I am on course index
And I follow "English category"
- And I click on "More actions" "button"
+ And I click on "More actions" "link"
And I click on "Courses pending approval" "link"
And the following should exist in the "pendingcourserequests" table:
| Requested by | Course short name | Course full name | Category | Reason for course request |