consolidate behat messages tests
Bug #1719222 reported by
Rebecca Blundell
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Niranjan |
Bug Description
test/behat/
Is there another send message feature that this could be part of?
Check out these tests and see how we are testing messages and how it can be improved:
./features/
./features/
./features/
./features/
Changed in mahara: | |
assignee: | nobody → Rebecca Blundell (rjb-dev) |
status: | New → In Progress |
Changed in mahara: | |
importance: | Undecided → Medium |
milestone: | none → 18.04.0 |
Changed in mahara: | |
assignee: | Rebecca Blundell (rjb-dev) → Niranjan (niranjan528) |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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