Class ConfigurePlanTriggersPage
java.lang.Object
com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
com.atlassian.bamboo.pageobjects.pages.plan.configuration.ConfigurePlanTriggersPage
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
-
Field Summary
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends TriggerComponent>
TaddTrigger(String triggerType, Class<T> trigger) <T> TeditTrigger(@NotNull Class<T> triggerComponentClass, int positionOnList) intgetUrl()com.atlassian.pageobjects.elements.PageElementThis must return an element whose presence indicates that we're on given page.booleanisTriggerPresent(@NotNull String triggerDisplayName, @Nullable String userDescription) Checks if specified trigger is present on plan's trigger list.Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
Constructor Details
-
ConfigurePlanTriggersPage
-
-
Method Details
-
addTrigger
-
removeAllTriggers
-
editTrigger
-
isTriggerPresent
public boolean isTriggerPresent(@NotNull @NotNull String triggerDisplayName, @Nullable @Nullable String userDescription) Checks if specified trigger is present on plan's trigger list.- Parameters:
triggerDisplayName- The display name on the list - result of callingNameProvider.getName().userDescription- (Optional) User description of the trigger. If null or empty string is passed user description will not be verified, otherwise it has to match (case sensitive).- Returns:
- True if specified trigger is present on the trigger list, false otherwise.
-
getNumberOfTriggers
public int getNumberOfTriggers() -
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
-
getUrl
-