Admin logs in and searches for people
Sends a message to UserA
Requests friendship from UserA with a message that's too long
Checks it's rejected and sends another message
UserA logs in and sees message
Admin logs in and then masquerades as UserB
Requests friendship from Admin
Becomes Admin user and accepts friend request
Masquerades as UserB and checks friend accept options
What the tests currently do:
test/behat/ features/ site_content/ activity_ type_messages. feature
Background:
Admin sends UserA a message
UserA replies
Scenario:
Check the kinds of message filters available
test/behat/ features/ social/ send_message. feature
Admin sends UserA a message including < & >
Check that sent message includes the same chars
test/behat/ features/ social/ send_multiple_ messages. feature
Admin logs in and searches for people
Sends a message to UserA
Requests friendship from UserA with a message that's too long
Checks it's rejected and sends another message
UserA logs in and sees message
Admin logs in and then masquerades as UserB
Requests friendship from Admin
Becomes Admin user and accepts friend request
Masquerades as UserB and checks friend accept options
test/behat/ features/ settings/ visible_ asterix_ message. feature
Checks that on the send message form there are asterisks on the required fields