1 @core @message @javascript
3 In order to communicate with fellow users
5 I need to be able to reply to a message
7 Scenario: Reply to a message
8 Given the following "users" exist:
9 | username | firstname | lastname | email |
10 | user1 | User | 1 | user1@example.com |
11 | user2 | User | 2 | user2@example.com |
12 And I log in as "user2"
13 And I send "User 2 to User 1" message to "User 1" user
15 When I log in as "user1"
16 And I follow "Messages" in the user menu
17 And I click on "User 2" "text" in the "conversations" "message_area_region_content"
18 And I send "Reply to User 2" message in the message area
20 Then I log in as "user2"
21 And I follow "Messages" in the user menu
22 And I should see "Reply to User 2" in the "conversations" "message_area_region_content"