Class RequirementDetailsPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
-
- com.atlassian.bamboo.pageobjects.pages.plan.configuration.RequirementDetailsPage
-
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
public class RequirementDetailsPage extends AbstractBambooAdminPage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RequirementDetailsPage.EphemeralAgentTemplate
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
-
Constructor Summary
Constructors Constructor Description RequirementDetailsPage(String requirementKey)
RequirementDetailsPage(String requirementKey, String requirementLabel, long requirementId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canBeRemovedFrom(PlanKey jobKey)
boolean
canBeRemovedFrom(TestEnvironmentDetails environment)
RequirementDetailsPage
deleteFromEnvironment(TestEnvironmentDetails environment)
delete requirement for a particular environmentRequirementDetailsPage
deleteFromJob(PlanKey jobKey)
delete requirement for a particular jobString
getUrl()
boolean
hasCapability(RequirementDetailsPage.EphemeralAgentTemplate ephemeralAgentTemplate)
boolean
hasRequirement(PlanKey jobKey)
boolean
hasRequirement(TestEnvironmentDetails environment)
boolean
hasRequirement(TestJobDetails job)
void
hasTitle()
com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.void
openTab(String tabLabel)
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
getStateBanner
-
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
-
hasTitle
public void hasTitle()
-
getUrl
public String getUrl()
-
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
-
deleteFromJob
public RequirementDetailsPage deleteFromJob(PlanKey jobKey)
delete requirement for a particular job
-
deleteFromEnvironment
public RequirementDetailsPage deleteFromEnvironment(TestEnvironmentDetails environment)
delete requirement for a particular environment
-
hasRequirement
public boolean hasRequirement(TestJobDetails job)
-
hasRequirement
public boolean hasRequirement(PlanKey jobKey)
-
hasRequirement
public boolean hasRequirement(TestEnvironmentDetails environment)
-
hasCapability
public boolean hasCapability(RequirementDetailsPage.EphemeralAgentTemplate ephemeralAgentTemplate)
-
openTab
public void openTab(String tabLabel)
-
canBeRemovedFrom
public boolean canBeRemovedFrom(PlanKey jobKey)
-
canBeRemovedFrom
public boolean canBeRemovedFrom(TestEnvironmentDetails environment)
-
-