Skip to content

Commit

Permalink
MDL-59983 lang: Fix Forum behat scenarios to use the new strings
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Sep 5, 2017
1 parent 7698619 commit 6806a37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 "Manage subscriptions"
And I should not see "Manage subscribers"

Scenario: A forced and hidden forum lists only teachers
When I add a "Forum" to section "1" and I fill the form with:
Expand Down
10 changes: 5 additions & 5 deletions mod/forum/tests/behat/forum_subscriptions_management.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 "Manage subscriptions" "button" should exist
And I press "Manage subscriptions"
And "Manage subscribers" "button" should exist
And I press "Manage subscribers"
And ".userselector" "css_element" should exist
And "Finish managing subscriptions" "button" should exist
And I press "Finish managing subscriptions"
And ".userselector" "css_element" should not exist
And "Manage subscriptions" "button" should exist
And I press "Manage subscriptions"
And "Manage subscribers" "button" should exist
And I press "Manage subscribers"
And ".userselector" "css_element" should exist
And "Finish managing subscriptions" "button" should exist
And I press "Finish managing subscriptions"
And ".userselector" "css_element" should not exist
And "Manage subscriptions" "button" should exist
And "Manage subscribers" "button" should exist

0 comments on commit 6806a37

Please sign in to comment.