Skip to content

Commit

Permalink
MDL-47189 my: Update test to check that existing blocks remain after add
Browse files Browse the repository at this point in the history
Specifically checking for strings in the blocks because the tests
passed when looking for the string anywhere.
  • Loading branch information
Frederic Massart committed Oct 14, 2014
1 parent 00fd3c1 commit da45dc0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions my/tests/behat/add_blocks.feature
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Feature: Add blocks to my home page
Scenario: Add blocks to page
When I press "Customise this page"
And I add the "Latest news" block
And I add the "My latest badges" block
Then I should see "Latest news"
And I should see "My latest badges"
Then I should see "Latest news" in the "Latest news" "block"
And I should see "My latest badges" in the "My latest badges" "block"
And I should see "Calendar" in the "Calendar" "block"
And I should see "Upcoming events" in the "Upcoming events" "block"

0 comments on commit da45dc0

Please sign in to comment.