Example #1
0
        public void QuitFromAccount()
        {
            OpenAccountManager();

            AccountPopUp accountPopUp = new AccountPopUp(this.driver);

            accountPopUp.SignOutFromAccount();
        }
        public void SignOutFromAccount()
        {
            inboxGmailPage.OpenAccountManager();

            accountPopUp.SignOutFromAccount();

            SigninChooserPage signinChooserPage = new SigninChooserPage(this.driver);

            string signinChooserPageUrl = signinChooserPage.GetCurrentUrl();

            string currentUrl = this.driver.Url;

            Assert.AreEqual(signinChooserPageUrl, currentUrl);
        }