Class PersonalAccessTokenCreationPage
java.lang.Object
com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
com.atlassian.bamboo.pageobjects.pages.user.tokens.PersonalAccessTokenCreationPage
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
-
Field Summary
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassertPermissionCheckboxState
(AccessTokenPermission permission, boolean isChecked, boolean isEnabled) checkPermissionCheckbox
(AccessTokenPermission permission, boolean checked) create()
Create personal access token and expects successCreate personal access token and expects validation errorsgetUrl()
com.atlassian.pageobjects.elements.PageElement
This must return an element whose presence indicates that we're on given page.withPermissions
(AccessTokenPermission... permissions) withTokenName
(String name) 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 Details
-
PersonalAccessTokenCreationPage
public PersonalAccessTokenCreationPage()
-
-
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
-
getUrl
-
withTokenName
-
withPermissions
-
checkPermissionCheckbox
public PersonalAccessTokenCreationPage checkPermissionCheckbox(AccessTokenPermission permission, boolean checked) -
assertPermissionCheckboxState
public PersonalAccessTokenCreationPage assertPermissionCheckboxState(AccessTokenPermission permission, boolean isChecked, boolean isEnabled) -
create
Create personal access token and expects success -
createExpectingErrors
Create personal access token and expects validation errors- Returns:
- list of validation errors
-