MDL-41369 Behat tests updated because of fixed messaging navigation

This commit is contained in:
Marina Glancy 2013-09-05 12:29:29 +10:00
parent bc16c7a0e3
commit 1b40564829
2 changed files with 4 additions and 2 deletions

View File

@ -12,7 +12,8 @@ Feature: Manage contacts
And I log in as "user1"
And I send "Message 1 from user1 to user2" message to "user2"
And I send "Message 2 from user1 to user2" message to "user2"
And I follow "Messages"
And I expand "My profile" node
And I click on "Messages" "link" in the "Navigation" "block"
And I fill in "Search people and messages" with "User Two"
And I press "Search people and messages"
When I click on "Add contact" "link" in the "User Two" table row

View File

@ -11,7 +11,8 @@ Feature: Users can search their message history
| user2 | User | Two | two@asd.com |
And I log in as "user1"
When I send "Give me your biscuits" message to "user2"
And I follow "Messages"
And I expand "My profile" node
And I click on "Messages" "link" in the "Navigation" "block"
And I fill in "Search people and messages" with "your biscuits"
And I press "Search people and messages"
Then I should see "User Two"