Beispiel #1
0
        public void SignOutFromAccount_IsSignOut()
        {
            this.accountPopUp = inboxGmailPage.OpenAccountManager();

            SigninChooserPage signinChooserPage = accountPopUp.SignOutFromAccount();

            Assert.AreEqual(signinChooserPage.GetCurrentUrl(), this.driver.Url);
        }
        //-------------------------------------------------------------------

        #region Methods for manipulation the inbox gmail page
        /// <summary>Quit from current account</summary>
        public void QuitFromAccount()
        {
            GoogleAccount.Click();

            GoogleAccountPopUp accountPopUp = new GoogleAccountPopUp(this.driver);

            accountPopUp.SignOutFromAccount();
        }
Beispiel #3
0
        public void StartGmail_isLogin()
        {
            this.accountPopUp = inboxGmailPage.OpenAccountManager();

            IWebElement currentAccountMail = accountPopUp.CurrentAccountMail;

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

            IWebElement currentAccountMail = accountPopUp.CurrentAccountMail;

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

            Assert.AreEqual(expectedMail, actualMailOnPage);
        }