MDL-56087 behat: Fixed no messages string
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user