public void LoginTestWithValidCredentials(AccountData account)
 {
     app.Auth.Login(account);
     Assert.IsTrue(app.Auth.IsLoggedIn(), "Logged in");
     app.Auth.Logout();
     Assert.IsTrue(app.Auth.IsLoggedOut(), "Logged out");
 }
 public void Login(AccountData account)
 {
     pages.Login.UsernameField.SendKeys(account.Username);
     pages.Login.PasswordField.SendKeys(account.Password);
     pages.Login.SubmitButton.Click();
 }
 public void Login(AccountData account)
 {
     pages.Login.UsernameField.SendKeys(account.Username);
     pages.Login.PasswordField.SendKeys(account.Password);
     pages.Login.SubmitButton.Click();
 }