[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @core @core_message 2 Feature: Manage contacts 3 In order to easily access the users I interact more with 4 As a user 5 I need to add and remove users to/from my contacts list 6 7 Background: 8 Given the following "users" exist: 9 | username | firstname | lastname | email | 10 | user1 | User | One | one@example.com | 11 | user2 | User | Two | two@example.com | 12 And I log in as "user1" 13 And I send "Message 1 from user1 to user2" message to "User Two" user 14 And I send "Message 2 from user1 to user2" message to "User Two" user 15 And I follow "Messages" in the user menu 16 And I set the field "Search people and messages" to "User Two" 17 And I press "Search people and messages" 18 When I click on "Add contact" "link" in the "User Two" "table_row" 19 Then I should see "Message 1 from user1 to user2" 20 And I should see "Message 2 from user1 to user2" 21 And I should see "User Two" in the ".contactselector" "css_element" 22 And I follow "Remove contact" 23 And I should not see "User Two" in the ".contactselector" "css_element" 24 And I should not see "Remove contact" 25 And I should see "Add contact" 26 And I follow "Add contact" 27 And I should see "User Two" in the ".contactselector" "css_element" 28 29 @javascript 30 Scenario: Adding and removing contacts with Javascript enabled 31 32 # Scenario: Adding and removing contacts with Javascript disabled
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |