MDL-58576 mod_forum: Fix behat failures after string change
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user