Class ViewVersionPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.deployment.ViewVersionPage
-
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
public class ViewVersionPage 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 ViewVersionPage()
ViewVersionPage(String versionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigureDeploymentProjectPage
backToDeploymentProject()
int
getCommitsCount()
com.atlassian.pageobjects.elements.PageElement
getDeployEnvironmentElement(String environmentAId)
com.atlassian.pageobjects.elements.PageElement
getDetailedVersionInfoContainer()
com.atlassian.pageobjects.elements.PageElement
getGeneralVersion()
int
getIssuesCount()
com.atlassian.pageobjects.elements.PageElement
getMarkApprovedButton()
com.atlassian.pageobjects.elements.PageElement
getMarkBrokenButton()
String
getTitle()
String
getUrl()
VersionDetailsComponent
getVersionDetails()
String
getVersionId()
String
getVersionName()
com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.void
initVersionId()
boolean
isEnvionmentWithinDropdownDisabled()
RenameVersionPage
rename()
-
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
-
ViewVersionPage
public ViewVersionPage()
-
ViewVersionPage
public ViewVersionPage(String versionId)
-
-
Method Detail
-
initVersionId
public void initVersionId()
-
backToDeploymentProject
public ConfigureDeploymentProjectPage backToDeploymentProject()
-
rename
public RenameVersionPage rename()
-
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
-
getUrl
public String getUrl()
-
getVersionName
public String getVersionName()
-
getTitle
public String getTitle()
-
getCommitsCount
public int getCommitsCount()
-
getIssuesCount
public int getIssuesCount()
-
getVersionId
public String getVersionId()
-
getVersionDetails
public VersionDetailsComponent getVersionDetails()
-
getMarkApprovedButton
public com.atlassian.pageobjects.elements.PageElement getMarkApprovedButton()
-
getMarkBrokenButton
public com.atlassian.pageobjects.elements.PageElement getMarkBrokenButton()
-
getDeployEnvironmentElement
public com.atlassian.pageobjects.elements.PageElement getDeployEnvironmentElement(String environmentAId)
-
isEnvionmentWithinDropdownDisabled
public boolean isEnvionmentWithinDropdownDisabled()
-
getGeneralVersion
public com.atlassian.pageobjects.elements.PageElement getGeneralVersion()
-
getDetailedVersionInfoContainer
public com.atlassian.pageobjects.elements.PageElement getDetailedVersionInfoContainer()
-
-