Class CreateVersionPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.deployment.CreateVersionPage
-
- All Implemented Interfaces:
GlobalPage,com.atlassian.pageobjects.Page
public class CreateVersionPage 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 CreateVersionPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<PlanResultKey>allBuildResultKeys()Iterable<CreateVersionBuildResultElement>allBuildResults()CreateVersionPageassertUsesCustomBuildResult(int buildNumber)CreateVersionPageassertUsesRecentBuildResult(int buildNumber)booleancanSelectBranch()intgetCommitsCount()intgetIssuesCount()StringgetLastVersionName()StringgetUrl()StringgetVersionName()StringglobalLinkId()ID of the link in the main navigation menu.com.atlassian.pageobjects.elements.PageElementindicator()This must return an element whose presence indicates that we're on given page.ViewVersionPagesave()CreateVersionPagewithVersionName(String versionName)-
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
-
withVersionName
public CreateVersionPage withVersionName(String versionName)
-
save
public ViewVersionPage save()
-
indicator
public com.atlassian.pageobjects.elements.PageElement indicator()
Description copied from class:AbstractBambooPageThis must return an element whose presence indicates that we're on given page.- Specified by:
indicatorin classAbstractBambooPage- Returns:
- element uniquely identifying given page
-
globalLinkId
public String globalLinkId()
Description copied from interface:GlobalPageID of the link in the main navigation menu.- Specified by:
globalLinkIdin interfaceGlobalPage- Returns:
- global link ID
-
getUrl
public String getUrl()
- Specified by:
getUrlin interfacecom.atlassian.pageobjects.Page
-
allBuildResults
public Iterable<CreateVersionBuildResultElement> allBuildResults()
-
allBuildResultKeys
public Iterable<PlanResultKey> allBuildResultKeys()
-
assertUsesCustomBuildResult
public CreateVersionPage assertUsesCustomBuildResult(int buildNumber)
-
assertUsesRecentBuildResult
public CreateVersionPage assertUsesRecentBuildResult(int buildNumber)
-
getVersionName
public String getVersionName()
-
getLastVersionName
public String getLastVersionName()
-
getIssuesCount
public int getIssuesCount()
-
getCommitsCount
public int getCommitsCount()
-
canSelectBranch
public boolean canSelectBranch()
-
-