use of sample.pages.LoginPage in project spring-session by spring-projects.
the class FindByUsernameTests method login.
@Test
public void login() {
LoginPage login = HomePage.go(this.driver);
HomePage home = login.form().login(HomePage.class);
home.assertAt();
home.containCookie("SESSION");
home.doesNotContainCookie("JSESSIONID");
home.terminateButtonDisabled();
}
use of sample.pages.LoginPage in project spring-session by spring-projects.
the class FindByUsernameTests method home.
@Test
public void home() {
LoginPage login = HomePage.go(this.driver);
login.assertAt();
}
use of sample.pages.LoginPage in project spring-session by spring-projects.
the class HttpRedisJsonTest method goLoginRedirectToLogin.
@Test
public void goLoginRedirectToLogin() {
LoginPage login = HomePage.go(this.driver, LoginPage.class);
login.assertAt();
}
use of sample.pages.LoginPage in project spring-session by spring-projects.
the class HttpRedisJsonTest method login.
@Test
public void login() {
LoginPage login = HomePage.go(this.driver, LoginPage.class);
HomePage home = login.form().login(HomePage.class);
home.containCookie("SESSION");
home.doesNotContainCookie("JSESSIONID");
}
use of sample.pages.LoginPage in project spring-session by spring-projects.
the class BootTests method logout.
@Test
public void logout() {
LoginPage login = HomePage.go(this.driver);
HomePage home = login.form().login(HomePage.class);
home.logout();
login.assertAt();
}
Aggregations