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 classViewAllDeploymentProjectsPage.TableComponentComponent for the infinite scroll table used on this page.static classViewAllDeploymentProjectsPage.TableRowRow 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 ConfigureDeploymentProjectDetailsPagecreateDeploymentProject()voidensureIndicatorPresent()Checks for presence ofAbstractBambooPage.indicator()by default.List<ViewAllDeploymentProjectsPage.TableRow>getAllDashboardEntries()Get all rows of the deployments dashboard table.ViewAllDeploymentProjectsPage.TableRowgetEnvironmentRow(String deploymentName, String environmentName)Returns a table row of an environment belonging to a specific deployment project.StringgetUrl()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.voidsetFilter(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:AbstractBambooPageChecks for presence of
AbstractBambooPage.indicator()by default.If different wait functionality is required, just override this method.
- Overrides:
ensureIndicatorPresentin classAbstractBambooPage
-
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
-
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.
-
-