Class UsersAdminPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.admin.UsersAdminPage
-
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
public class UsersAdminPage extends AbstractBambooPage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UsersAdminPage.ConfirmationDialog
static class
UsersAdminPage.TableComponent
static class
UsersAdminPage.TableRow
static class
UsersAdminPage.User
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct
-
-
Constructor Summary
Constructors Constructor Description UsersAdminPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canDeleteUser(String username)
UsersAdminPage
delete(String username)
EditUserPage
editUser(String username)
Iterable<UsersAdminPage.User>
getExistingUsers()
String
getUrl()
com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.boolean
isCreateUserButtonVisible()
UsersAdminPage
setFilter(String filterValue, String resultFilteredOut)
Set infinite scroll table filterViewUserPage
userDetails(String username)
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
-
-
-
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
-
isCreateUserButtonVisible
public boolean isCreateUserButtonVisible()
-
getExistingUsers
public Iterable<UsersAdminPage.User> getExistingUsers()
-
userDetails
public ViewUserPage userDetails(String username)
-
editUser
public EditUserPage editUser(String username)
-
canDeleteUser
public boolean canDeleteUser(String username)
-
delete
public UsersAdminPage delete(String username)
-
setFilter
public UsersAdminPage setFilter(String filterValue, String resultFilteredOut)
Set infinite scroll table filter- Parameters:
filterValue
- username/full name/emailresultFilteredOut
- username that will be filtered out of the table. Used to check if the table has reloaded.
-
-