← Back to team overview

mahara-contributors team mailing list archive

[Bug 1719222] Re: consolidate behat messages tests

 

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1719222

Title:
  consolidate behat messages tests

Status in Mahara:
  In Progress

Bug description:
  test/behat/features/settings/visible_asterix_message.feature
  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/social/send_multiple_messages.feature
  ./features/social/send_message.feature
  ./features/site_content/activity_type_messages.feature
  ./features/settings/visible_asterix_message.feature

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1719222/+subscriptions


References