Skip to content

Commit

Permalink
MDL-56087 behat: Fixed no messages string
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajesh Taneja authored and stronk7 committed Oct 13, 2016
1 parent c96717f commit a79c2aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blocks/messages/tests/behat/block_messages_course.feature
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Feature: The messages block allows users to list new messages an a course
And I follow "Course 1"
When I turn editing mode on
And I add the "Messages" block
Then I should see "No messages waiting" in the "Messages" "block"
Then I should see "No messages" in the "Messages" "block"

@javascript
Scenario: View the block by a user who has messages.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Feature: The messages block allows users to list new messages on the dashboard
Given I log in as "teacher1"
And I press "Customise this page"
When I add the "Messages" block
Then I should see "No messages waiting" in the "Messages" "block"
Then I should see "No messages" in the "Messages" "block"

@javascript
Scenario: View the block by a user who has messages.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Feature: The messages block allows users to list new messages on the frontpage
Scenario: View the block by a user who does not have any messages.
Given I log in as "teacher1"
When I am on site homepage
Then I should see "No messages waiting" in the "Messages" "block"
Then I should see "No messages" in the "Messages" "block"

Scenario: Try to view the block as a guest user.
Given I log in as "guest"
Expand Down

0 comments on commit a79c2aa

Please sign in to comment.