public class LoginIT extends AbstractWebappUiIntegrationTest
Modifier and Type | Field and Description |
---|---|
protected String |
appName |
org.junit.rules.TestName |
name |
protected org.openqa.selenium.support.ui.WebDriverWait |
wait |
driver, screenshotRule
APP_BASE_PATH, appUrl, client, connection, defaultHttpClient, HOST_NAME, httpPort, service, TASKLIST_PATH, testProperties, testUtil
Constructor and Description |
---|
LoginIT() |
Modifier and Type | Method and Description |
---|---|
void |
login() |
void |
logout() |
void |
sendKeys(org.openqa.selenium.WebElement element,
String keys) |
void |
shouldLoginToAdmin() |
void |
shouldLoginToCockpit() |
void |
shouldLoginToTasklist() |
void |
shouldLoginToWelcome() |
after, containsCurrentUrl, createClient, createDriver, currentURIIs, quitDriver
before, createClient, destroyClient, getCookieHeaders, getCookieValue, getHeaders, getRestCtxPath, getWebappCtxPath, getXsrfCookieValue, getXsrfTokenHeader, performRequest, preventRaceConditions
public org.junit.rules.TestName name
protected org.openqa.selenium.support.ui.WebDriverWait wait
protected String appName
public void login() throws InterruptedException
InterruptedException
public void sendKeys(org.openqa.selenium.WebElement element, String keys)
public void logout() throws InterruptedException
InterruptedException
public void shouldLoginToCockpit() throws URISyntaxException
URISyntaxException
public void shouldLoginToTasklist()
public void shouldLoginToAdmin() throws URISyntaxException
URISyntaxException
public void shouldLoginToWelcome() throws URISyntaxException
URISyntaxException
Copyright © 2021. All rights reserved.