Group Chat Test Cases

Sr No.Case DescriptionData / ActionExpected Output
1getData Callback passed is passed but it is not returning any datagetDataCallback is not returning dataPrevious messages will not be there. A textbox to send new message.
2getData Callback passed is passed but it is returning proper dataitem={
activeUser:'',
messages:[{
user: '',
message: '',
,dateTime:''
,messageId:''
}]}
Component will be shown with previous messages and latest message will be shown at end.
3No options are passedoptions are not passedComponent will be displayed with a default background image which will be repeating
4Send button is clicked without typing messageClick on send buttonNothing will happen
5Send button is clicked after typing messageType the message and Click on send buttonMessage will got saved if service returns success
6Send button is clicked after typing messageType the message and Click on send buttonA retry button will appear if service fails
7Click on retry buttonClick on retry buttonMessage saving is again triggered
8Hover on the chat windowHover the chat windowScroll bar will be shown on hover