Esempio n. 1
0
        public void SearchMessageByTheme_IsSearchedMessageDisplayed()
        {
            string themeOfMessage = "Xinuos Inc.";

            inboxGmailPage.SearchMessageByTheme(themeOfMessage);

            Assert.IsTrue(inboxGmailPage.GetSearchedMessageByTheme(themeOfMessage).Displayed);
        }
        public void SearchMessageByTheme()
        {
            string themeOfMessage = "Xinuos Inc.";

            inboxGmailPage.SearchMessageByTheme(themeOfMessage);

            IWebElement foundMessage = inboxGmailPage.GetMessageByTheme(themeOfMessage);

            Assert.IsTrue(foundMessage.Displayed);
        }