MDL-58576 mod_forum: Fix behat failures after string change

This commit is contained in:
Andrew Nicols 2017-04-12 09:32:05 +08:00
parent bd99cb9021
commit 0c0f3fdc1e
2 changed files with 10 additions and 10 deletions

View file

@ -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 1"
And I should see "Student 2" And I should see "Student 2"
And I should see "Student 3" 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 Scenario: A forced and hidden forum lists only teachers
When I add a "Forum" to section "1" and I fill the form with: When I add a "Forum" to section "1" and I fill the form with:

View file

@ -30,16 +30,16 @@ Feature: A teacher can control the subscription to a forum
Given I follow "Test forum name" Given I follow "Test forum name"
And I follow "Show/edit current subscribers" And I follow "Show/edit current subscribers"
Then ".userselector" "css_element" should not exist Then ".userselector" "css_element" should not exist
And "Turn editing on" "button" should exist And "Manage subscriptions" "button" should exist
And I press "Turn editing on" And I press "Manage subscriptions"
And ".userselector" "css_element" should exist And ".userselector" "css_element" should exist
And "Turn editing off" "button" should exist And "Finish managing subscriptions" "button" should exist
And I press "Turn editing off" And I press "Finish managing subscriptions"
And ".userselector" "css_element" should not exist And ".userselector" "css_element" should not exist
And "Turn editing on" "button" should exist And "Manage subscriptions" "button" should exist
And I press "Turn editing on" And I press "Manage subscriptions"
And ".userselector" "css_element" should exist And ".userselector" "css_element" should exist
And "Turn editing off" "button" should exist And "Finish managing subscriptions" "button" should exist
And I press "Turn editing off" And I press "Finish managing subscriptions"
And ".userselector" "css_element" should not exist And ".userselector" "css_element" should not exist
And "Turn editing on" "button" should exist And "Manage subscriptions" "button" should exist