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 void
cancel()
List<String>
getErrorMessages()
String
getUrl()
com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.void
linkRepositories(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan)
Create plan the manual way.void
linkRepositories(TestBuildDetails plan)
CreatePlanRepositoryPage
selectNoVcs()
<P extends VcsComponent>
PselectVcs(@NotNull Class<P> vcsRepositoryComponentClass)
CreatePlanTasksPage
submitNewPlan(@NotNull PlanKey jobKey)
CreatePlanRepositoryPage
submitNewPlanExpectingErrors()
CreatePlanTasksPage
submitNewPlanWithNoRepo(@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: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
-
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 Exception
Create 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()
-
-