public abstract class TaskConfigurationPage extends AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct
Constructor and Description |
---|
TaskConfigurationPage() |
Modifier and Type | Method and Description |
---|---|
void |
addNewTask(String taskType,
Class<? extends TaskComponent> task,
String userDescription,
Map<String,String> config)
Create new task and expect success
|
List<String> |
addNewTaskAndExpectFailure(String taskType,
Class<? extends TaskComponent> task,
String userDescription,
Map<String,String> config)
Create a new task and expect validation errors after task submission
|
List<String> |
addNewTaskAndExpectInitialErrors(String taskType)
Try to add a new task and expect initial errors before task submission
|
Iterable<TaskElement> |
allTasks() |
void |
deleteTask(String taskName,
String taskDescription) |
void |
editTask(String oldUserDescription,
Class<? extends TaskComponent> task,
String newUserDescription,
Map<String,String> config) |
abstract String |
getCreateFormName() |
TaskElement |
getTask(String taskName) |
TaskElement |
getTask(String taskName,
String taskDescription) |
abstract String |
getUpdateFormName() |
String |
getUrl() |
com.atlassian.pageobjects.elements.PageElement |
indicator()
This must return an element whose presence indicates that we're on given page.
|
boolean |
isEditable() |
doWait, ensureIndicatorPresent, getFooter, getHeader, isAdmin, isLoggedIn, isPageLoaded, sendEnterKey, sendEscapeKey
public String getUrl()
public com.atlassian.pageobjects.elements.PageElement indicator()
AbstractBambooPage
indicator
in class AbstractBambooPage
public abstract String getCreateFormName()
public abstract String getUpdateFormName()
public void addNewTask(String taskType, Class<? extends TaskComponent> task, String userDescription, Map<String,String> config) throws Exception
Exception
public List<String> addNewTaskAndExpectFailure(String taskType, Class<? extends TaskComponent> task, String userDescription, Map<String,String> config) throws Exception
Exception
public List<String> addNewTaskAndExpectInitialErrors(String taskType)
public void editTask(String oldUserDescription, Class<? extends TaskComponent> task, String newUserDescription, Map<String,String> config)
public Iterable<TaskElement> allTasks()
@NotNull public TaskElement getTask(@NotNull String taskName)
public TaskElement getTask(@NotNull String taskName, @NotNull String taskDescription)
public boolean isEditable()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.