diff --git a/mod/forum/tests/behat/forum_subscriptions_availability.feature b/mod/forum/tests/behat/forum_subscriptions_availability.feature index 70e71b6cac7..8504f9c292e 100644 --- a/mod/forum/tests/behat/forum_subscriptions_availability.feature +++ b/mod/forum/tests/behat/forum_subscriptions_availability.feature @@ -76,7 +76,7 @@ Feature: As a teacher I need to see an accurate list of subscribed users And I should see "Student 1" And I should see "Student 2" And I should see "Student 3" - And I should not see "Turn editing on" + And I should not see "Manage subscriptions" Scenario: A forced and hidden forum lists only teachers When I add a "Forum" to section "1" and I fill the form with: diff --git a/mod/forum/tests/behat/forum_subscriptions_management.feature b/mod/forum/tests/behat/forum_subscriptions_management.feature index fb2b43a0b7d..cd73e0d218a 100644 --- a/mod/forum/tests/behat/forum_subscriptions_management.feature +++ b/mod/forum/tests/behat/forum_subscriptions_management.feature @@ -30,16 +30,16 @@ Feature: A teacher can control the subscription to a forum Given I follow "Test forum name" And I follow "Show/edit current subscribers" Then ".userselector" "css_element" should not exist - And "Turn editing on" "button" should exist - And I press "Turn editing on" + And "Manage subscriptions" "button" should exist + And I press "Manage subscriptions" And ".userselector" "css_element" should exist - And "Turn editing off" "button" should exist - And I press "Turn editing off" + And "Finish managing subscriptions" "button" should exist + And I press "Finish managing subscriptions" And ".userselector" "css_element" should not exist - And "Turn editing on" "button" should exist - And I press "Turn editing on" + And "Manage subscriptions" "button" should exist + And I press "Manage subscriptions" And ".userselector" "css_element" should exist - And "Turn editing off" "button" should exist - And I press "Turn editing off" + And "Finish managing subscriptions" "button" should exist + And I press "Finish managing subscriptions" And ".userselector" "css_element" should not exist - And "Turn editing on" "button" should exist + And "Manage subscriptions" "button" should exist