Ejemplo n.º 1
0
        public void Create_New_Mail()
        {
            EmailPage emailPage = new EmailPage(driver);

            emailPage.CreateNewLetter();
            emailPage.IncomingMailsTab().Click();
            Assert.AreEqual("Letter for test", emailPage.SubjectOfIncomingMail().Text);
        }
Ejemplo n.º 2
0
        public void Verify_Fields_Of_Sent_Letter()
        {
            EmailPage emailPage = new EmailPage(driver);

            emailPage.CreateNewLetter();
            emailPage.IncomingMailsTab().Click();
            emailPage.FirstMail().Click();

            Assert.AreEqual("Letter for test", emailPage.Subject().Text);
            Assert.IsTrue(emailPage.Description().Text.Contains("Description Test"));
            Assert.AreEqual("*****@*****.**", emailPage.Receiver().Text);
        }