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()
CreateVersionPage
assertUsesCustomBuildResult(int buildNumber)
CreateVersionPage
assertUsesRecentBuildResult(int buildNumber)
boolean
canSelectBranch()
int
getCommitsCount()
int
getIssuesCount()
String
getLastVersionName()
String
getUrl()
String
getVersionName()
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.ViewVersionPage
save()
CreateVersionPage
withVersionName(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: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
-
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()
-
-