public class BambooHeader extends Object implements com.atlassian.pageobjects.component.Header
Modifier and Type | Class and Description |
---|---|
static class |
BambooHeader.SpecsDropDown |
static class |
BambooHeader.UserInfoDropDown |
Modifier and Type | Field and Description |
---|---|
protected AuiDropDown2Menu |
adminMenu |
protected com.atlassian.webdriver.AtlassianWebDriver |
driver |
protected com.atlassian.pageobjects.elements.PageElement |
header |
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
protected com.atlassian.pageobjects.elements.PageElement |
userInfoContainer |
protected BambooHeader.UserInfoDropDown |
userInfoDropdown |
Constructor and Description |
---|
BambooHeader() |
Modifier and Type | Method and Description |
---|---|
SignupPage |
clickSignup() |
AuiDropDown2Menu |
getCreateMenu() |
String |
getLoggedInFullName() |
String |
getLoggedInUsername() |
BambooHeader.SpecsDropDown |
getSpecsMenu() |
com.atlassian.pageobjects.component.WebSudoBanner |
getWebSudoBanner() |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasSignupLink() |
boolean |
isAdmin() |
boolean |
isLoggedIn() |
BambooDashboardPage |
logout()
Default logout.
|
<M extends com.atlassian.pageobjects.Page> |
logout(Class<M> nextPage) |
@Inject protected com.atlassian.webdriver.AtlassianWebDriver driver
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
protected com.atlassian.pageobjects.elements.PageElement header
protected AuiDropDown2Menu adminMenu
protected com.atlassian.pageobjects.elements.PageElement userInfoContainer
protected BambooHeader.UserInfoDropDown userInfoDropdown
public boolean isLoggedIn()
isLoggedIn
in interface com.atlassian.pageobjects.component.Header
public boolean isAdmin()
public String getLoggedInUsername()
public String getLoggedInFullName()
public com.atlassian.pageobjects.elements.query.TimedCondition hasSignupLink()
public SignupPage clickSignup()
public <M extends com.atlassian.pageobjects.Page> M logout(Class<M> nextPage)
logout
in interface com.atlassian.pageobjects.component.Header
public com.atlassian.pageobjects.component.WebSudoBanner getWebSudoBanner()
getWebSudoBanner
in interface com.atlassian.pageobjects.component.Header
public BambooDashboardPage logout()
public AuiDropDown2Menu getCreateMenu()
public BambooHeader.SpecsDropDown getSpecsMenu()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.