Пример #1
0
        public void StartGmail_isLogin()
        {
            this.accountPopUp = inboxGmailPage.OpenAccountManager();

            IWebElement currentAccountMail = accountPopUp.CurrentAccountMail;

            Assert.AreEqual(controller.GetFirstMail(), currentAccountMail.Text);
        }
        public void StartGmail_isLogin()
        {
            inboxGmailPage.OpenAccountManager();

            IWebElement currentAccountMail = accountPopUp.GetCurrentAccountMail();

            string actualMailOnPage = currentAccountMail.Text;
            string expectedMail     = controller.GetFirstMail();

            Assert.AreEqual(expectedMail, actualMailOnPage);
        }