Class SpecsWizardCreationPage
java.lang.Object
com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
com.atlassian.bamboo.pageobjects.pages.specs.SpecsWizardCreationPage
- 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 TypeMethodDescriptionboolean
canSelectBuildProject
(String projectName) boolean
canSelectDeploymentProject
(String deploymentName) boolean
canSelectExisingRepository
(String repositoryName) <P extends VcsComponent>
SpecsWizardCreationPagecreateNewRepository
(@NotNull Class<P> vcsRepositoryComponentClass, @NotNull Consumer<P> vacsDetailsPopular) getUrl()
com.atlassian.pageobjects.elements.PageElement
This must return an element whose presence indicates that we're on given page.boolean
boolean
boolean
boolean
selectBuildProject
(String name) submit()
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
-
SpecsWizardCreationPage
public SpecsWizardCreationPage()
-
-
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
-
selectBuildProject
-
selectDeploymentProject
-
selectExistingRepository
-
createNewRepository
public <P extends VcsComponent> SpecsWizardCreationPage createNewRepository(@NotNull @NotNull Class<P> vcsRepositoryComponentClass, @NotNull @NotNull Consumer<P> vacsDetailsPopular) -
submit
-
canSelectBuildProject
- Parameters:
projectName
- name of the build project- Returns:
- true if project can be selected, false otherwise
-
canSelectDeploymentProject
- Parameters:
deploymentName
- name of the deployment project- Returns:
- true if project can be selected, false otherwise
-
isNewRepositoryRadioPresent
public boolean isNewRepositoryRadioPresent() -
isExistingRepositoryRadioPresent
public boolean isExistingRepositoryRadioPresent() -
canSelectExisingRepository
- Parameters:
repositoryName
- name of the linked repository- Returns:
- true if repository can be selected, false otherwise
-
isWarningPresent
public boolean isWarningPresent() -
isCreateButtonPresent
public boolean isCreateButtonPresent()
-