public LoginWindow LoginWithTrialUser() { EnterUsername(TestUserData.GetTrialUser().Username) .EnterPassword(TestUserData.GetTrialUser().Password) .ClickLoginButton(); WaitUntilElementIsNotVisible(By.ClassName("Loading"), 15); RefreshSession(); return(this); }
public LoginWindow LoginWithTrialUser() { EnterUsername(TestUserData.GetTrialUser().Username) .EnterPassword(TestUserData.GetTrialUser().Password) .ClickLoginButton(); WaitUntilLoginIsFinished(); RefreshSession(); return(this); }
public LoginWindow LoginWithTrialUser() { EnterUsername(TestUserData.GetTrialUser().Username) .EnterPassword(TestUserData.GetTrialUser().Password) .ClickLoginButton(); WaitUntilElementExistsByAutomationId("TrialModal", 20); Session.FindElementByAccessibilityId("TrialModal").Click(); var actions = new Actions(Session); actions.SendKeys(Keys.Escape).Build().Perform(); return(this); }