Class CreatePlanRepositoryPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.plan.configuration.CreatePlanRepositoryPage
-
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
public class CreatePlanRepositoryPage 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 CreatePlanRepositoryPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()List<String>getErrorMessages()StringgetUrl()com.atlassian.pageobjects.elements.PageElementindicator()This must return an element whose presence indicates that we're on given page.voidlinkRepositories(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan)Create plan the manual way.voidlinkRepositories(TestBuildDetails plan)CreatePlanRepositoryPageselectNoVcs()<P extends VcsComponent>
PselectVcs(@NotNull Class<P> vcsRepositoryComponentClass)CreatePlanTasksPagesubmitNewPlan(@NotNull PlanKey jobKey)CreatePlanRepositoryPagesubmitNewPlanExpectingErrors()CreatePlanTasksPagesubmitNewPlanWithNoRepo(@NotNull PlanKey jobKey)-
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
-
getUrl
public String getUrl()
-
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
-
submitNewPlan
public CreatePlanTasksPage submitNewPlan(@NotNull @NotNull PlanKey jobKey)
-
submitNewPlanWithNoRepo
public CreatePlanTasksPage submitNewPlanWithNoRepo(@NotNull @NotNull PlanKey jobKey)
-
submitNewPlanExpectingErrors
public CreatePlanRepositoryPage submitNewPlanExpectingErrors()
-
linkRepositories
public void linkRepositories(TestBuildDetails plan) throws Exception
- Throws:
Exception
-
linkRepositories
public void linkRepositories(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan) throws ExceptionCreate plan the manual way. Plan created will not be 1:1 to what is provided as argument.- Throws:
Exception
-
selectNoVcs
public CreatePlanRepositoryPage selectNoVcs()
-
selectVcs
public <P extends VcsComponent> P selectVcs(@NotNull @NotNull Class<P> vcsRepositoryComponentClass)
-
cancel
public void cancel()
-
-