This commit is contained in:
David Monllao 2016-10-13 10:18:20 +08:00
commit f5e8a744bf
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" And I follow "Course 1"
When I turn editing mode on When I turn editing mode on
And I add the "Messages" block 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 @javascript
Scenario: View the block by a user who has messages. 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" Given I log in as "teacher1"
And I press "Customise this page" And I press "Customise this page"
When I add the "Messages" block 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 @javascript
Scenario: View the block by a user who has messages. 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. Scenario: View the block by a user who does not have any messages.
Given I log in as "teacher1" Given I log in as "teacher1"
When I am on site homepage 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. Scenario: Try to view the block as a guest user.
Given I log in as "guest" Given I log in as "guest"