public class BambooLoginPage extends AbstractBambooPage implements com.atlassian.pageobjects.page.LoginPage
| Modifier and Type | Field and Description |
|---|---|
static String |
URI |
driver, elementFinder, pageBinder, poller, testedProduct| Constructor and Description |
|---|
BambooLoginPage() |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.pageobjects.elements.query.TimedCondition |
captchaLoaded()
Has the captcha image actually loaded (will not work in IE).
|
String |
getCaptchaImageSource() |
String |
getErrorMessage() |
String |
getUrl() |
com.atlassian.pageobjects.elements.PageElement |
indicator()
This must return an element whose presence indicates that we're on given page.
|
protected com.atlassian.pageobjects.elements.query.TimedCondition |
isPageLoaded()
This indicates that the page has loaded and the presence of indicator may be verified.
|
<M extends com.atlassian.pageobjects.Page> |
login(String username,
String password,
boolean rememberMe,
Class<M> nextPage) |
<M extends com.atlassian.pageobjects.Page> |
login(String username,
String password,
Class<M> nextPage) |
<M extends com.atlassian.pageobjects.Page> |
login(String username,
String password,
String captcha,
boolean rememberMe,
Class<M> nextPage) |
BambooDashboardPage |
login(TestUser user)
Login with default scenario - ending up on the dashboard.
|
<M extends com.atlassian.pageobjects.Page> |
login(TestUser user,
Class<M> nextPage) |
BambooDashboardPage |
loginAsSysAdmin()
Login as sysadmin expecting dashboard as the next page - the default scenario.
|
<M extends com.atlassian.pageobjects.Page> |
loginAsSysAdmin(Class<M> nextPage) |
BambooLoginPage |
loginExpectingError(String username,
String password) |
com.atlassian.pageobjects.elements.query.TimedCondition |
showsCaptcha()
Is the captcha Image tag visible?
|
doWait, ensureIndicatorPresent, getFooter, getHeader, isAdmin, isLoggedIn, sendEnterKey, sendEscapeKeypublic static final String URI
public String getUrl()
getUrl in interface com.atlassian.pageobjects.Pageprotected com.atlassian.pageobjects.elements.query.TimedCondition isPageLoaded()
AbstractBambooPageisPageLoaded in class AbstractBambooPagepublic com.atlassian.pageobjects.elements.PageElement indicator()
AbstractBambooPageindicator in class AbstractBambooPagepublic String getErrorMessage()
public <M extends com.atlassian.pageobjects.Page> M login(String username, String password, Class<M> nextPage)
login in interface com.atlassian.pageobjects.page.LoginPagepublic <M extends com.atlassian.pageobjects.Page> M login(@NotNull
TestUser user,
Class<M> nextPage)
public BambooDashboardPage login(@NotNull TestUser user)
user - userpublic <M extends com.atlassian.pageobjects.Page> M loginAsSysAdmin(Class<M> nextPage)
loginAsSysAdmin in interface com.atlassian.pageobjects.page.LoginPagepublic BambooDashboardPage loginAsSysAdmin()
public <M extends com.atlassian.pageobjects.Page> M login(String username, String password, String captcha, boolean rememberMe, Class<M> nextPage)
public <M extends com.atlassian.pageobjects.Page> M login(String username, String password, boolean rememberMe, Class<M> nextPage)
public BambooLoginPage loginExpectingError(String username, String password)
public com.atlassian.pageobjects.elements.query.TimedCondition showsCaptcha()
public com.atlassian.pageobjects.elements.query.TimedCondition captchaLoaded()
public String getCaptchaImageSource()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.