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 boolean
canSelectBuildProject(String projectName)
boolean
canSelectDeploymentProject(String deploymentName)
boolean
canSelectExisingRepository(String repositoryName)
<P extends VcsComponent>
SpecsWizardCreationPagecreateNewRepository(@NotNull Class<P> vcsRepositoryComponentClass, @NotNull Consumer<P> vacsDetailsPopular)
String
getUrl()
com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.boolean
isCreateButtonPresent()
boolean
isExistingRepositoryRadioPresent()
boolean
isNewRepositoryRadioPresent()
boolean
isWarningPresent()
SpecsWizardCreationPage
selectBuildProject(String name)
SpecsWizardCreationPage
selectDeploymentProject(String name)
SpecsWizardCreationPage
selectExistingRepository(String name)
BambooDashboardPage
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
-
-
-
-
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()
-
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()
-
-