Example #1
0
        public void SendMessage()
        {
            // Sign into Mars Portal
            SignIn.OpenForm();

            //Fill in credentials
            SignIn.FillCredentials(7);

            //Click on chat
            ChatPage.ClickOnChat();

            //Type in and send a message on chat
            ChatPage.TypeAndSendMessage();

            //Assertion
            ChatPage.SendMessageAssertion();
        }
Example #2
0
 public void ThenUserShouldBeAbleToSeeTheMessageSentInTheChatRoom()
 {
     ChatPage.SendMessageAssertion();
 }