Class ViewUserPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.admin.ViewUserPage
-
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
public class ViewUserPage extends AbstractBambooPage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ViewUserPage.UserAliasesTableComponent
static class
ViewUserPage.UserAliasesTableRow
static class
ViewUserPage.UserDetails
static class
ViewUserPage.UserGroupsTableComponent
static class
ViewUserPage.UserGroupsTableRow
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
-
Constructor Summary
Constructors Constructor Description ViewUserPage(String user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ViewUserPage
addAliases(String... aliases)
ViewUserPage
addGroups(String... groups)
boolean
canAddGroups()
boolean
canDeleteUser()
boolean
canEditUser()
boolean
canRemoveGroup(String group)
UsersAdminPage
deleteUser()
EditUserPage
editUser()
List<String>
getAliases()
String
getUrl()
ViewUserPage.UserDetails
getUser()
List<String>
getUserAccessTokens()
List<String>
getUserGroups()
com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.ViewUserPage
invalidateSessions()
ViewUserPage
removeGroup(String group)
ViewUserPage
resetCaptcha()
void
revokeAccessToken(String name)
void
selectAccessTokenTab()
void
selectAliasesTab()
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
-
-
-
Constructor Detail
-
ViewUserPage
public ViewUserPage(String user)
-
-
Method Detail
-
getUrl
public String getUrl()
-
indicator
public com.atlassian.pageobjects.elements.PageElement indicator()
Description copied from class:AbstractBambooPage
This must return an element whose presence indicates that we're on given page.- Specified by:
indicator
in classAbstractBambooPage
- Returns:
- element uniquely identifying given page
-
selectAliasesTab
public void selectAliasesTab()
-
selectAccessTokenTab
public void selectAccessTokenTab()
-
addAliases
public ViewUserPage addAliases(String... aliases)
-
canAddGroups
public boolean canAddGroups()
-
addGroups
public ViewUserPage addGroups(String... groups)
-
canRemoveGroup
public boolean canRemoveGroup(String group)
-
removeGroup
public ViewUserPage removeGroup(String group)
-
getUser
public ViewUserPage.UserDetails getUser()
-
resetCaptcha
public ViewUserPage resetCaptcha()
-
canEditUser
public boolean canEditUser()
-
editUser
public EditUserPage editUser()
-
canDeleteUser
public boolean canDeleteUser()
-
deleteUser
public UsersAdminPage deleteUser()
-
revokeAccessToken
public void revokeAccessToken(String name)
-
invalidateSessions
public ViewUserPage invalidateSessions()
-
-