public void VerifyUserAuthorizedSuccessfully() { MailPage mailPage = new MailPage(); string actualEmail = mailPage.CheckUserAuthorized().GetAttribute("innerText"); Asserts.AreEquals(actualEmail, user.Email); }
public void VerifyEmailWasSuccessfullySent() { MailPage mailPage = new MailPage(); string actualInfo = mailPage.CheckEmailSendingInfo("Message sent.") .GetAttribute("innerText"); Asserts.AreEquals(actualInfo, "Message sent."); }
public void VerifyEmailMessageWasRemoved() { string expectedInfo = "Conversation moved to Trash."; MailPage mailPage = new MailPage(); string actualInfo = mailPage.CheckEmailRemoveInfo(expectedInfo) .GetAttribute("innerText"); Asserts.AreEquals(actualInfo, expectedInfo); }