Class AbstractPermissionsPage
java.lang.Object
com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
com.atlassian.bamboo.pageobjects.pages.AbstractPermissionsPage
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
- Direct Known Subclasses:
ConfigureDeploymentProjectPermissionsPage
,ConfigureEnvironmentPermissionsPage
,ConfigureGlobalPermissionsPage
,ConfigurePlanPermissionsPage
,ConfigureProjectPermissionsPage
,ConfigureProjectPlanPermissionsPage
,EditLinkedRepositoryPage
Abstract class for pages which use the asynchronous permissions configuration widget.
-
Field Summary
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, poller, testedProduct, timeouts
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
com.atlassian.pageobjects.elements.PageElement
This must return an element whose presence indicates that we're on given page.withGroupPermissions
(Consumer<EditPermissionsComponent> consumer) Perform assertions and modifications on group permissions.withRolePermissions
(Consumer<EditPermissionsComponent> consumer) Perform assertions and modifications on role permissions.withUserPermissions
(Consumer<EditPermissionsComponent> consumer) Perform assertions and modifications on user permissions.Methods inherited from class com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
doWait, getStateBanner
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.pageobjects.Page
getUrl
-
Constructor Details
-
AbstractPermissionsPage
public AbstractPermissionsPage()
-
-
Method Details
-
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
-
withUserPermissions
Perform assertions and modifications on user permissions. -
withGroupPermissions
Perform assertions and modifications on group permissions. -
withRolePermissions
Perform assertions and modifications on role permissions. -
canEditUserPermissions
public boolean canEditUserPermissions()
-