From 0631009caf9fdcdf7c705a73ca2211c4fe4ef64f Mon Sep 17 00:00:00 2001 From: Rajesh Taneja Date: Thu, 7 Aug 2014 09:39:07 +0800 Subject: [PATCH] MDL-45897 behat: fixed behat for my home page --- my/tests/behat/reset_page.feature | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/my/tests/behat/reset_page.feature b/my/tests/behat/reset_page.feature index 0f1b1491793..16920a78dbd 100644 --- a/my/tests/behat/reset_page.feature +++ b/my/tests/behat/reset_page.feature @@ -22,8 +22,11 @@ Feature: Reset my home page to default Scenario: Add blocks to page and reset When I press "Customise this page" And I add the "Latest news" block - And I add the "My latest badges" block + And I add the "Comments" block And I press "Reset page to default" Then I should not see "Latest news" - And I should not see "My latest badges" + And I should see "My latest badges" + And I should see "Calendar" + And I should see "Upcoming events" + And I should not see "Comments" And I should not see "Reset page to default" \ No newline at end of file