public class CreatePlanPage extends AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
Constructor and Description |
---|
CreatePlanPage() |
Modifier and Type | Method and Description |
---|---|
void |
createNewPlan(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan,
boolean publicAccess)
Create plan the manual way.
|
void |
createNewPlan(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 |
isSubmitButtonAvailable() |
CreatePlanPage |
populatePlanDetails(Consumer<CreatePlanDetailsComponent> planDetailsConsumer) |
CreatePlanPage |
populatePlanDetails(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan) |
CreatePlanPage |
populatePlanDetails(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan,
boolean publicAccess) |
CreatePlanPage |
populatePlanDetails(TestBuildDetails plan) |
CreatePlanTasksPage |
populatePlanDetailsAndSubmit(TestBuildDetails plan) |
CreatePlanPage |
selectNoVcs() |
<P extends VcsComponent> |
selectVcs(Class<P> vcsRepositoryComponentClass) |
CreatePlanTasksPage |
submitNewPlan(PlanKey planKey) |
CreatePlanPage |
submitNewPlanExpectingErrors() |
click, doWait, ensureIndicatorPresent, getFooter, getHeader, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
public String getUrl()
public com.atlassian.pageobjects.elements.PageElement indicator()
AbstractBambooPage
indicator
in class AbstractBambooPage
public CreatePlanTasksPage submitNewPlan(@NotNull PlanKey planKey)
public CreatePlanPage submitNewPlanExpectingErrors()
public void createNewPlan(TestBuildDetails plan) throws Exception
Exception
public void createNewPlan(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan, boolean publicAccess) throws Exception
Exception
public CreatePlanPage populatePlanDetails(@NotNull TestBuildDetails plan)
public CreatePlanPage populatePlanDetails(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan)
public CreatePlanPage populatePlanDetails(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan, boolean publicAccess)
public CreatePlanPage populatePlanDetails(Consumer<CreatePlanDetailsComponent> planDetailsConsumer)
public CreatePlanTasksPage populatePlanDetailsAndSubmit(TestBuildDetails plan)
public CreatePlanPage selectNoVcs()
public <P extends VcsComponent> P selectVcs(@NotNull Class<P> vcsRepositoryComponentClass)
public boolean isNoPermissionInfoPresent()
public boolean isSubmitButtonAvailable()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.