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

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

            //Click on chat
            ChatPage.ClickOnChat();

            //Assertion
            ChatPage.AbleToClickOnChatAssertion();
        }
Beispiel #2
0
        public void UserAbleToClickOtherUser()
        {
            // Sign into Mars Portal
            SignIn.OpenForm();

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

            //Click on Chat
            ChatPage.ClickOnChat();

            //Click on other user on chat room
            ChatPage.ClickUserChat();

            //Assertion
            ChatPage.AbleToClickUsernameAssertion();
        }
Beispiel #3
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();
        }
Beispiel #4
0
 public void WhenClicksOnChatButton()
 {
     //Click on Chat
     ChatPage.ClickOnChat();
 }