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, screenshotRuleAPP_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, quitDriverbefore, createClient, destroyClient, getCookieHeaders, getCookieValue, getHeaders, getRestCtxPath, getWebappCtxPath, getXsrfCookieValue, getXsrfTokenHeader, performRequest, preventRaceConditionspublic org.junit.rules.TestName name
protected org.openqa.selenium.support.ui.WebDriverWait wait
protected String appName
public void login()
throws InterruptedException
InterruptedExceptionpublic void sendKeys(org.openqa.selenium.WebElement element,
String keys)
public void logout()
throws InterruptedException
InterruptedExceptionpublic void shouldLoginToCockpit()
throws URISyntaxException
URISyntaxExceptionpublic void shouldLoginToTasklist()
public void shouldLoginToAdmin()
throws URISyntaxException
URISyntaxExceptionpublic void shouldLoginToWelcome()
throws URISyntaxException
URISyntaxExceptionCopyright © 2021. All rights reserved.