MDL-48933 message: Close message popup after sending message

Message popup stays up for 2 seconds, close this in behat to
ensure dom can be interacted by selenium driver
This commit is contained in:
Rajesh Taneja 2015-02-05 13:32:50 +08:00
parent c346996f38
commit b8526c7481

View File

@ -24,6 +24,7 @@ Feature: Users can send messages to each other
When I follow "Send a message"
And I set the field "Message to send" to "Lorem ipsum sa messagus textus"
And I press "Send message"
And I press "Close"
And I navigate to "Messages" node in "My profile"
And I set the field "Search people and messages" to "User Two"
And I press "Search people and messages"
@ -46,6 +47,7 @@ Feature: Users can send messages to each other
When I follow "Send a message"
And I set the field "Message to send" to "Lorem ipsum sa messagus textus"
And I press "Send message"
And I press "Close"
And I navigate to "Messages" node in "My profile"
And I set the field "Search people and messages" to "User Two"
And I press "Search people and messages"