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
public class PersonalAccessTokenCreationPage extends AbstractBambooPage
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
-
Constructor Summary
Constructors Constructor Description PersonalAccessTokenCreationPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersonalAccessTokenCreationPage
assertPermissionCheckboxState(AccessTokenPermission permission, boolean isChecked, boolean isEnabled)
PersonalAccessTokenCreationPage
checkPermissionCheckbox(AccessTokenPermission permission, boolean checked)
PersonalAccessTokenViewPage
create()
Create personal access token and expects successList<String>
createExpectingErrors()
Create personal access token and expects validation errorsString
getUrl()
com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.PersonalAccessTokenCreationPage
withPermissions(AccessTokenPermission... permissions)
PersonalAccessTokenCreationPage
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
-
-
-
-
Method Detail
-
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
public String getUrl()
-
withTokenName
public PersonalAccessTokenCreationPage withTokenName(String name)
-
withPermissions
public PersonalAccessTokenCreationPage withPermissions(AccessTokenPermission... permissions)
-
checkPermissionCheckbox
public PersonalAccessTokenCreationPage checkPermissionCheckbox(AccessTokenPermission permission, boolean checked)
-
assertPermissionCheckboxState
public PersonalAccessTokenCreationPage assertPermissionCheckboxState(AccessTokenPermission permission, boolean isChecked, boolean isEnabled)
-
create
public PersonalAccessTokenViewPage create()
Create personal access token and expects success
-
-