Class ClonePlanPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.plan.configuration.ClonePlanPage
-
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
public class ClonePlanPage 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 ClonePlanPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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()
ClonePlanPage
populatePlanDetails(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan)
ClonePlanPage
populatePlanDetails(TestBuildDetails plan)
Deprecated.ClonePlanPage
populatePlanDetails(Consumer<CreatePlanDetailsComponent> planDetailsConsumer)
StageConfigurationPage
saveAndContinue()
PlanSummaryPage
submit()
ClonePlanPage
submitExpectingErrors()
ClonePlanPage
withPlanToClone(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan)
ClonePlanPage
withPlanToClone(TestBuildDetails plan)
Deprecated.-
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
-
withPlanToClone
@Deprecated public ClonePlanPage withPlanToClone(TestBuildDetails plan)
Deprecated.
-
withPlanToClone
public ClonePlanPage withPlanToClone(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan)
-
populatePlanDetails
@Deprecated public ClonePlanPage populatePlanDetails(TestBuildDetails plan)
Deprecated.
-
populatePlanDetails
public ClonePlanPage populatePlanDetails(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan)
-
populatePlanDetails
public ClonePlanPage populatePlanDetails(Consumer<CreatePlanDetailsComponent> planDetailsConsumer)
-
submit
public PlanSummaryPage submit() throws Exception
- Throws:
Exception
-
saveAndContinue
public StageConfigurationPage saveAndContinue()
-
submitExpectingErrors
public ClonePlanPage submitExpectingErrors() throws Exception
- Throws:
Exception
-
isNoPermissionInfoPresent
public boolean isNoPermissionInfoPresent()
-
isSubmitButtonAvailable
public boolean isSubmitButtonAvailable()
-
-