Class ExecuteDeploymentPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.deployment.execute.ExecuteDeploymentPage
-
- All Implemented Interfaces:
GlobalPage
,com.atlassian.pageobjects.Page
public class ExecuteDeploymentPage extends AbstractBambooPage implements GlobalPage
-
-
Field Summary
Fields Modifier and Type Field Description protected com.atlassian.pageobjects.PageBinder
pageBinder
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, poller, testedProduct, timeouts
-
-
Constructor Summary
Constructors Constructor Description ExecuteDeploymentPage(String environmentId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canChooseExistingRelease()
boolean
canCreateNewRelease()
String
getUrl()
String
globalLinkId()
ID of the link in the main navigation menu.com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.DeploymentResultPage
submit()
If we are submitting with default state of the page then we might need for controls to get populatedNewReleaseComponent
withCreateNewRelease()
PromoteReleaseComponent
withPromoteRelease()
-
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
-
ExecuteDeploymentPage
public ExecuteDeploymentPage(String environmentId)
-
-
Method Detail
-
withPromoteRelease
public PromoteReleaseComponent withPromoteRelease()
-
withCreateNewRelease
public NewReleaseComponent withCreateNewRelease()
-
submit
public DeploymentResultPage submit()
If we are submitting with default state of the page then we might need for controls to get populated
-
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
-
canCreateNewRelease
public boolean canCreateNewRelease()
-
canChooseExistingRelease
public boolean canChooseExistingRelease()
-
-