Class CreatePlanPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.plan.configuration.CreatePlanPage
-
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
public class CreatePlanPage 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 CreatePlanPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createPlanDetails(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan, boolean publicAccess)
void
createPlanDetails(TestBuildDetails plan)
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.boolean
isNoPermissionInfoPresent()
boolean
isSaveAndContinueButtonAvailable()
CreatePlanPage
populatePlanDetails(@NotNull TestBuildDetails plan)
CreatePlanPage
populatePlanDetails(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan, boolean publicAccess)
CreatePlanPage
populatePlanDetails(Consumer<CreatePlanDetailsComponent> planDetailsConsumer)
CreatePlanTasksPage
populatePlanDetailsAndSubmit(TestBuildDetails plan)
CreatePlanRepositoryPage
submit(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan, boolean publicAccess)
CreatePlanRepositoryPage
submit(TestBuildDetails plan)
-
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
-
createPlanDetails
public void createPlanDetails(TestBuildDetails plan) throws Exception
- Throws:
Exception
-
createPlanDetails
public void createPlanDetails(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan, boolean publicAccess) throws Exception
- Throws:
Exception
-
populatePlanDetails
public CreatePlanPage populatePlanDetails(@NotNull @NotNull TestBuildDetails plan)
-
populatePlanDetails
public CreatePlanPage populatePlanDetails(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan, boolean publicAccess)
-
populatePlanDetails
public CreatePlanPage populatePlanDetails(Consumer<CreatePlanDetailsComponent> planDetailsConsumer)
-
populatePlanDetailsAndSubmit
public CreatePlanTasksPage populatePlanDetailsAndSubmit(TestBuildDetails plan) throws Exception
- Throws:
Exception
-
isNoPermissionInfoPresent
public boolean isNoPermissionInfoPresent()
-
isSaveAndContinueButtonAvailable
public boolean isSaveAndContinueButtonAvailable()
-
submit
public CreatePlanRepositoryPage submit(TestBuildDetails plan)
-
submit
public CreatePlanRepositoryPage submit(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan, boolean publicAccess)
-
-