Exemplo n.º 1
0
 public void WhenIOutOfMailbox()
 {
     mainPage = new InboxPage(driver);
     mainPage.LogOut();
     log.Info("logouted of mailbox");
     ScreenShots.ScreenShot();
 }
        public void ThenIWillLogout()
        {
            var driver = (IWebDriver)context["webdriver"];

            inbox.LogOut(driver);
            Assert.IsTrue(logIn.VerifyLogOut(driver));
            DriverFactory.CloseDriver();
        }
Exemplo n.º 3
0
        public void LogoutTest()
        {
            var startForm = new StartPage();

            startForm.Login(LogIn, Password);
            var inboxForm = new InboxPage();

            inboxForm.LogOut();

            Assert.IsTrue(startForm.LogoutSuccessMarker());
        }
Exemplo n.º 4
0
        public void LogoutTest()
        {
            var startForm = new StartPage();

            startForm.Login(LogIn, Password);
            var inboxForm = new InboxPage();

            inboxForm.LogOut();

            Assert.IsFalse(startForm.IsLoginSucceeded());
        }