Class ConfigureDeploymentProjectDetailsPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.deployment.projects.config.details.ConfigureDeploymentProjectDetailsPage
-
- All Implemented Interfaces:
GlobalPage
,com.atlassian.pageobjects.Page
public class ConfigureDeploymentProjectDetailsPage extends AbstractBambooPage implements GlobalPage
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
-
Constructor Summary
Constructors Constructor Description ConfigureDeploymentProjectDetailsPage()
ConfigureDeploymentProjectDetailsPage(String deploymentProjectId)
-
Method Summary
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
-
-
-
Constructor Detail
-
ConfigureDeploymentProjectDetailsPage
public ConfigureDeploymentProjectDetailsPage()
-
ConfigureDeploymentProjectDetailsPage
public ConfigureDeploymentProjectDetailsPage(String deploymentProjectId)
-
-
Method Detail
-
setDetails
public ConfigureDeploymentProjectDetailsPage setDetails(TestDeploymentProjectDetails deploymentProject)
-
withName
public ConfigureDeploymentProjectDetailsPage withName(String name)
-
withDescription
public ConfigureDeploymentProjectDetailsPage withDescription(String description)
-
withPublicAccess
public ConfigureDeploymentProjectDetailsPage withPublicAccess(boolean publicAccess)
-
withMasterPlan
public ConfigureDeploymentProjectDetailsPage withMasterPlan(String masterPlanName)
-
withMasterPlan
public ConfigureDeploymentProjectDetailsPage withMasterPlan(String masterPlanName, boolean isPlanValid)
-
withSourceBranch
public ConfigureDeploymentProjectDetailsPage withSourceBranch(String branchName)
-
withMainBranch
public ConfigureDeploymentProjectDetailsPage withMainBranch()
-
withCustomBranch
public ConfigureDeploymentProjectDetailsPage withCustomBranch()
-
submit
public ConfigureDeploymentProjectPage submit()
-
submitWithValidationFailure
public ConfigureDeploymentProjectDetailsPage submitWithValidationFailure()
-
submitWithConfirmationPage
public ConfirmDeploymentProjectDetailsPage submitWithConfirmationPage()
-
assertThatBranchSelectorIsEmpty
public ConfigureDeploymentProjectDetailsPage assertThatBranchSelectorIsEmpty()
-
assertThatBranchSelector
public ConfigureDeploymentProjectDetailsPage assertThatBranchSelector(@NotNull @NotNull org.hamcrest.Matcher<? super Select2Element> branchSelectorMatcher)
-
getForm
public com.atlassian.pageobjects.elements.PageElement getForm()
-
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
-
globalLinkId
public String globalLinkId()
Description copied from interface:GlobalPage
ID of the link in the main navigation menu.- Specified by:
globalLinkId
in interfaceGlobalPage
- Returns:
- global link ID
-
getUrl
public String getUrl()
- Specified by:
getUrl
in interfacecom.atlassian.pageobjects.Page
-
-