public class ConfigurePlanTriggersPage extends AbstractBambooPage
driver, elementFinder, pageBinder, testedProduct
Constructor and Description |
---|
ConfigurePlanTriggersPage(PlanKey planKey) |
Modifier and Type | Method and Description |
---|---|
<T extends TriggerComponent> |
addTrigger(String triggerType,
Class<T> trigger) |
<T> T |
editTrigger(Class<T> triggerComponentClass,
int positionOnList) |
int |
getNumberOfTriggers() |
String |
getUrl() |
com.atlassian.pageobjects.elements.PageElement |
indicator()
This must return an element whose presence indicates that we're on given page.
|
boolean |
isTriggerPresent(String triggerDisplayName,
String userDescription)
Checks if specified trigger is present on plan's trigger list.
|
ConfigurePlanTriggersPage |
removeAllTriggers() |
doWait, ensureIndicatorPresent, getFooter, getHeader, isAdmin, isLoggedIn, isPageLoaded
public ConfigurePlanTriggersPage(PlanKey planKey)
public <T extends TriggerComponent> T addTrigger(String triggerType, Class<T> trigger)
public ConfigurePlanTriggersPage removeAllTriggers()
public <T> T editTrigger(@NotNull Class<T> triggerComponentClass, int positionOnList)
public boolean isTriggerPresent(@NotNull String triggerDisplayName, @Nullable String userDescription)
triggerDisplayName
- The display name on the list - result of calling BuildStrategy.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).public int getNumberOfTriggers()
public com.atlassian.pageobjects.elements.PageElement indicator()
AbstractBambooPage
indicator
in class AbstractBambooPage
public String getUrl()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.