Пример #1
0
        public void VerifyContactUsFormHasBeenSent()
        {
            HomePage.GoTo();
            HomePage.GoToTeaOption(HomePage.TeaOptions.ContactUs);

            ContactUsPage.SetName("testName")
            .SetEmail("*****@*****.**")
            .SetMessage("test test test test test")
            .PressSendButton();

            var isSend = ContactUsPage.IsMessageSend("We'll get back to you shortly!");

            Assert.IsTrue(isSend, "Contact message has not been sent");
        }