Class ViewAllDeploymentProjectsPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.deployment.ViewAllDeploymentProjectsPage
-
- All Implemented Interfaces:
GlobalPage
,com.atlassian.pageobjects.Page
public class ViewAllDeploymentProjectsPage extends AbstractBambooPage implements GlobalPage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ViewAllDeploymentProjectsPage.TableComponent
Component for the infinite scroll table used on this page.static class
ViewAllDeploymentProjectsPage.TableRow
Row from the infinite scroll table used on this page.
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct
-
-
Constructor Summary
Constructors Constructor Description ViewAllDeploymentProjectsPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigureDeploymentProjectDetailsPage
createDeploymentProject()
void
ensureIndicatorPresent()
Checks for presence ofAbstractBambooPage.indicator()
by default.List<ViewAllDeploymentProjectsPage.TableRow>
getAllDashboardEntries()
Get all rows of the deployments dashboard table.ViewAllDeploymentProjectsPage.TableRow
getEnvironmentRow(String deploymentName, String environmentName)
Returns a table row of an environment belonging to a specific deployment project.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.void
setFilter(String filterValue)
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
-
-
-
Method Detail
-
ensureIndicatorPresent
public void ensureIndicatorPresent()
Description copied from class:AbstractBambooPage
Checks for presence of
AbstractBambooPage.indicator()
by default.If different wait functionality is required, just override this method.
- Overrides:
ensureIndicatorPresent
in classAbstractBambooPage
-
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
-
createDeploymentProject
public ConfigureDeploymentProjectDetailsPage createDeploymentProject()
-
setFilter
public void setFilter(String filterValue)
-
getAllDashboardEntries
public List<ViewAllDeploymentProjectsPage.TableRow> getAllDashboardEntries()
Get all rows of the deployments dashboard table.
-
getEnvironmentRow
public ViewAllDeploymentProjectsPage.TableRow getEnvironmentRow(String deploymentName, String environmentName)
Returns a table row of an environment belonging to a specific deployment project.
-
-