Upon opening a Chat from the Roster that Chat should take the topmost position in the Active Chats section, unless that Chat Tab is already present in the active chats list
This test case should be performed for both one-to-one chats and Groups
Clicking on 'Add Another Account' should display the add account modal to the user
Upon adding another account the account should move to the existing meta only if an existing meta exists for that account (This move should happen automatically)
If no meta exists then that account should be moved directly and it should be added to the existing meta
If sending an sms has failed. For example sending an sms to an incorrect number or there could be some network or server-side issue the sms message along with the failure icon should be displayed in the active chats section
Upon receiving an incoming message a blue unread message counter should be displays which signifies the number of incoming messages received from that particular contact or group
This test case should be performed for both one-to-one chats and Groups
When you hover on an Active Chat a close option should be displayed so that the user can close that chat
When you hover on top of the close option is should be dark gray otherwise if you hover anywhere else in the active chat section it should be light gray
If a message is in the Sending state the sending state annimation should also be displayed in the Active Chats section along with the Sending state in the Chat Tab
To test this send a message after you have disconnected yourself from the network
A scroll-bar should only be displayed on hover if the active chats exceed the number of chats that can be displayed for different screen resolutions and sizes
Upon sending a message and if the receiver has read that message the Read state should only be displayed in the Chat Tab and not in the Active Chats section
Upon sending a message and if that message has been Delivered to the Receivers client the same should be displayed in the Chat Tab and in the Active Chats section
A message will be in the Delivered state once a message has been Delivered to the recipient and until that user has not read that message
Upon sending a message it could fail due to various reasons eg network connectivity, server issues etc
When the client re-connects again the failed message should still be displayed in the Active Chats section with a failed receipt such that the user can try sending that message again upon re-connection or the app itself can attempt to re-deliver that message