public class EditIssueDialog extends AbstractIssueDialog
Modifier and Type | Field and Description |
---|---|
protected CalendarPicker |
dueDate |
extendedFinder, queryFactory
auiBlanket, form, FORM_SUBMITTING_CLASS, header, loading, messages
binder, CONTENT_AREA_CLASS, CONTENT_READY_CLASS, DIALOG_CLASS, DIALOG_OPEN_CLASS, driver, HEADING_AREA_CLASS, id, javascriptExecutor, locator
Constructor and Description |
---|
EditIssueDialog() |
Modifier and Type | Method and Description |
---|---|
EditIssueDialog |
addFields(String... fields) |
void |
close()
Close the dialog by clicking on the kindly ever-present cancel button.
|
EditIssueDialog |
fill(String id,
String value) |
List<String> |
getAvailableComponents() |
<T> T |
getCustomField(Class<T> fieldTypeClass,
long customFieldId) |
<T> T |
getCustomField(Class<T> fieldTypeClass,
String fullCustomFieldId) |
CalendarPicker |
getDueDate() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getIssueId() |
com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<String>> |
getPriorities() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getPrioritiySelected() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getPriorityDescription() |
void |
init() |
EditIssueDialog |
removeFields(String... fields) |
EditIssueDialog |
setAffectsVersion(String... versions) |
EditIssueDialog |
setAssignee(String newAssignee) |
EditIssueDialog |
setComment(String comment) |
EditIssueDialog |
setComponents(String... components) |
void |
setDueDate(Date dueDate)
Deprecated.
use
setDueDate(String) and take care of formatting yourself. Date doesn't
understand timezones, which is essential for converting to a day/month/year format.
Using this method will open you up to flaky tests when the test runner and JIRA instances are on different computers with different timezone settings. |
void |
setDueDate(String dueDate) |
void |
setFields(Map<String,String> fields) |
EditIssueDialog |
setFixVersions(String... versions) |
EditIssueDialog |
setIssueType(String issueType) |
EditIssueDialog |
setOriginalEstimate(String originalEstimate) |
EditIssueDialog |
setPriority(String newPriority) |
EditIssueDialog |
setTimeSpent(String timeSpent) |
boolean |
submit() |
<P> P |
submit(Class<P> pageClass,
Object... args) |
ViewIssuePage |
submitExpectingViewIssue(String issueKey) |
EditIssueDialog |
switchToCustomMode() |
EditIssueDialog |
switchToFullMode() |
EditIssueDialog |
typeAssignee(String name) |
closeFieldPicker, getFieldValue, getTimedFieldValue, getVisibleFieldElements, getVisibleFields, isInputPresent, openFieldPicker
acceptDirtyFormWarning, assertDialogClosed, assertDialogOpen, closeNoWait, escape, getAuiMessage, getFields, getFormErrorElements, getFormErrorList, getFormErrors, getTimedTitle, getTitle, hasFormErrors, initAbstractDialog, messages, ready, setElement, setField, submit, submit, submit, waitForFormErrors, waitUntilClosed, waitUntilHidden, waitWhileSubmitting
find, find, findAll, findAll, getDialogElement, isClosed, isInDOM, isOpen, waitUntilFinishedLoading
protected CalendarPicker dueDate
public void init()
public EditIssueDialog switchToCustomMode()
switchToCustomMode
in class AbstractIssueDialog
public EditIssueDialog removeFields(String... fields)
removeFields
in class AbstractIssueDialog
public EditIssueDialog addFields(String... fields)
addFields
in class AbstractIssueDialog
public EditIssueDialog switchToFullMode()
switchToFullMode
in class AbstractIssueDialog
public EditIssueDialog fill(String id, String value)
fill
in class AbstractIssueDialog
public CalendarPicker getDueDate()
public <T> T getCustomField(Class<T> fieldTypeClass, long customFieldId)
public boolean submit()
public void close()
FormDialog
close
in class FormDialog
public ViewIssuePage submitExpectingViewIssue(String issueKey)
public EditIssueDialog setAssignee(String newAssignee)
public EditIssueDialog typeAssignee(String name)
public EditIssueDialog setAffectsVersion(String... versions)
public EditIssueDialog setFixVersions(String... versions)
public EditIssueDialog setComponents(String... components)
public EditIssueDialog setPriority(String newPriority)
public com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<String>> getPriorities()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getPrioritiySelected()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getPriorityDescription()
public EditIssueDialog setIssueType(String issueType)
public EditIssueDialog setOriginalEstimate(String originalEstimate)
public EditIssueDialog setComment(String comment)
public EditIssueDialog setTimeSpent(String timeSpent)
public void setDueDate(String dueDate)
public void setDueDate(Date dueDate)
setDueDate(String)
and take care of formatting yourself. Date
doesn't
understand timezones, which is essential for converting to a day/month/year format.
Using this method will open you up to flaky tests when the test runner and JIRA instances are on different computers with different timezone settings.
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getIssueId()
Copyright © 2002-2021 Atlassian. All Rights Reserved.