MDL-56087 behat: Fixed no messages string

This commit is contained in:
Rajesh Taneja 2016-10-13 09:57:53 +08:00 committed by Eloy Lafuente (stronk7)
parent c96717fcd9
commit a79c2aace8
3 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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"