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
public class SpecsWizardCreationPage 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 SpecsWizardCreationPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanSelectBuildProject(String projectName)booleancanSelectDeploymentProject(String deploymentName)booleancanSelectExisingRepository(String repositoryName)<P extends VcsComponent>
SpecsWizardCreationPagecreateNewRepository(@NotNull Class<P> vcsRepositoryComponentClass, @NotNull Consumer<P> vacsDetailsPopular)StringgetUrl()com.atlassian.pageobjects.elements.PageElementindicator()This must return an element whose presence indicates that we're on given page.booleanisCreateButtonPresent()booleanisExistingRepositoryRadioPresent()booleanisNewRepositoryRadioPresent()booleanisWarningPresent()SpecsWizardCreationPageselectBuildProject(String name)SpecsWizardCreationPageselectDeploymentProject(String name)SpecsWizardCreationPageselectExistingRepository(String name)BambooDashboardPagesubmit()-
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:AbstractBambooPageThis must return an element whose presence indicates that we're on given page.- Specified by:
indicatorin classAbstractBambooPage- Returns:
- element uniquely identifying given page
-
getUrl
public String getUrl()
-
selectBuildProject
public SpecsWizardCreationPage selectBuildProject(String name)
-
selectDeploymentProject
public SpecsWizardCreationPage selectDeploymentProject(String name)
-
selectExistingRepository
public SpecsWizardCreationPage selectExistingRepository(String name)
-
createNewRepository
public <P extends VcsComponent> SpecsWizardCreationPage createNewRepository(@NotNull @NotNull Class<P> vcsRepositoryComponentClass, @NotNull @NotNull Consumer<P> vacsDetailsPopular)
-
submit
public BambooDashboardPage submit()
-
canSelectBuildProject
public boolean canSelectBuildProject(String projectName)
- Parameters:
projectName- name of the build project- Returns:
- true if project can be selected, false otherwise
-
canSelectDeploymentProject
public boolean canSelectDeploymentProject(String deploymentName)
- 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
public boolean canSelectExisingRepository(String repositoryName)
- Parameters:
repositoryName- name of the linked repository- Returns:
- true if repository can be selected, false otherwise
-
isWarningPresent
public boolean isWarningPresent()
-
isCreateButtonPresent
public boolean isCreateButtonPresent()
-
-