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(); }
public void LogoutTest() { var startForm = new StartPage(); startForm.Login(LogIn, Password); var inboxForm = new InboxPage(); inboxForm.LogOut(); Assert.IsTrue(startForm.LogoutSuccessMarker()); }
public void LogoutTest() { var startForm = new StartPage(); startForm.Login(LogIn, Password); var inboxForm = new InboxPage(); inboxForm.LogOut(); Assert.IsFalse(startForm.IsLoginSucceeded()); }