@PublicApi public class LabelsDialog extends Dialog
| Modifier and Type | Field and Description |
|---|---|
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
iddriver, frameExecutor, pageElementFinder, timeouts, waiter| Constructor and Description |
|---|
LabelsDialog() |
LabelsDialog(boolean expectedDisplayed) |
| Modifier and Type | Method and Description |
|---|---|
LabelsDialog |
addLabel(String label)
Types in the label input and clicks add.
|
LabelsDialog |
addLabelAndWait(String label)
Types in the label input and clicks add.
|
LabelsDialog |
addLabelAndWait(String label,
String expectedLabel) |
String |
addLabelAndWaitForError(String label) |
LabelsDialog |
addLabelUsingEnterKey(String label) |
LabelsDialog |
addLabelWithAutocomplete(String autocompleteText,
String expectedLabel) |
void |
close() |
String |
getErrorMessage()
Waits for the error message to be visible and returns the error text.
|
List<String> |
getLabels() |
DialogLabelSection |
getLabelSection() |
boolean |
hasErrorMessage() |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasLabels(String labelsString) |
com.atlassian.pageobjects.elements.query.TimedCondition |
isLabelInputFocused() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isOpen() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isReady() |
LabelsDialog |
removeLabel(String labelText) |
void |
waitUntilReady() |
clickButton, clickCancel, clickCancelAndWaitUntilClosed, clickLink, clickPageMenu, find, findAll, getTitle, hasButton, hasLink, hasPageMenu, isButtonDisabledgetDialog, getHeight, getId, getWidth, isVisible, isVisibleTimed, pressEscape, pressEscapeOnly, waitForRemoval, waitUntilAUIBlanketHidden, waitUntilHidden, waitUntilVisiblegetComponent, isSPAEnabledpublic LabelsDialog()
public LabelsDialog(boolean expectedDisplayed)
public void waitUntilReady()
public DialogLabelSection getLabelSection()
public LabelsDialog addLabel(String label)
public LabelsDialog addLabelAndWait(String label)
public LabelsDialog addLabelAndWait(String label, String expectedLabel)
public com.atlassian.pageobjects.elements.query.TimedCondition isLabelInputFocused()
public void close()
public LabelsDialog removeLabel(String labelText)
public com.atlassian.pageobjects.elements.query.TimedCondition isOpen()
public com.atlassian.pageobjects.elements.query.TimedCondition isReady()
public com.atlassian.pageobjects.elements.query.TimedCondition hasLabels(String labelsString)
public String getErrorMessage()
public boolean hasErrorMessage()
public LabelsDialog addLabelWithAutocomplete(String autocompleteText, String expectedLabel)
public LabelsDialog addLabelUsingEnterKey(String label)
Copyright © 2003–2017 Atlassian. All rights reserved.