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