From deb71a0032a614b87eb070122ec49ba08f459205 Mon Sep 17 00:00:00 2001 From: Rajesh Taneja Date: Thu, 13 Oct 2016 09:57:53 +0800 Subject: [PATCH] MDL-56087 behat: Fixed no messages string --- blocks/messages/tests/behat/block_messages_course.feature | 2 +- blocks/messages/tests/behat/block_messages_dashboard.feature | 2 +- blocks/messages/tests/behat/block_messages_frontpage.feature | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blocks/messages/tests/behat/block_messages_course.feature b/blocks/messages/tests/behat/block_messages_course.feature index ed18707c9f4..43446c2e82a 100644 --- a/blocks/messages/tests/behat/block_messages_course.feature +++ b/blocks/messages/tests/behat/block_messages_course.feature @@ -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. diff --git a/blocks/messages/tests/behat/block_messages_dashboard.feature b/blocks/messages/tests/behat/block_messages_dashboard.feature index f3fc262569f..509057e5d4b 100644 --- a/blocks/messages/tests/behat/block_messages_dashboard.feature +++ b/blocks/messages/tests/behat/block_messages_dashboard.feature @@ -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. diff --git a/blocks/messages/tests/behat/block_messages_frontpage.feature b/blocks/messages/tests/behat/block_messages_frontpage.feature index 4f4796eed75..2c71001981b 100644 --- a/blocks/messages/tests/behat/block_messages_frontpage.feature +++ b/blocks/messages/tests/behat/block_messages_frontpage.feature @@ -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"