public class LabelsDialog extends Dialog
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
id
driver, frameExecutor, pageElementFinder, timeouts, waiter
Constructor and Description |
---|
LabelsDialog() |
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.
|
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 |
isOpen() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isReady() |
LabelsDialog |
removeLabel(String labelText) |
clickButton, clickCancel, clickCancelAndWaitUntilClosed, clickLink, clickPageMenu, find, findAll, getTitle, hasButton, hasLink, hasPageMenu, isButtonDisabled
getDialog, getHeight, getId, getWidth, isVisible, isVisibleTimed, pressEscape, pressEscapeOnly, waitForRemoval, waitUntilHidden, waitUntilVisible
getComponent
public DialogLabelSection getLabelSection()
public LabelsDialog addLabel(String label)
public LabelsDialog addLabelAndWait(String label)
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 String getErrorMessage()
public boolean hasErrorMessage()
public LabelsDialog addLabelWithAutocomplete(String autocompleteText, String expectedLabel)
public LabelsDialog addLabelUsingEnterKey(String label)
Copyright © 2003–2015 Atlassian. All rights reserved.