com.atlassian.confluence.pageobjects.component.dialog
Class LabelsDialog
java.lang.Object
com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog
com.atlassian.confluence.pageobjects.component.dialog.Dialog
com.atlassian.confluence.pageobjects.component.dialog.LabelsDialog
- All Implemented Interfaces:
- PageComponent
public class LabelsDialog
- extends Dialog
Field Summary |
protected com.atlassian.pageobjects.PageBinder |
pageBinder
|
Fields inherited from class com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog |
id |
Methods inherited from class com.atlassian.confluence.pageobjects.component.dialog.Dialog |
clickButton, clickCancel, clickLink, clickPageMenu, find, findAll, getTitle, hasButton, hasLink, hasPageMenu, isButtonDisabled |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pageBinder
@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder
LabelsDialog
public LabelsDialog()
getLabelSection
public DialogLabelSection getLabelSection()
addLabel
public LabelsDialog addLabel(java.lang.String label)
- Types in the label input and clicks add. This method does not wait for the label to be added.
addLabelAndWait
public LabelsDialog addLabelAndWait(java.lang.String label)
- Types in the label input and clicks add. This method waits for the typed label to be added.
addLabelAndWaitForError
public java.lang.String addLabelAndWaitForError(java.lang.String label)
close
public void close()
removeLabel
public LabelsDialog removeLabel(java.lang.String labelText)
isOpen
public com.atlassian.pageobjects.elements.query.TimedCondition isOpen()
isReady
public com.atlassian.pageobjects.elements.query.TimedCondition isReady()
getLabels
public java.util.List<java.lang.String> getLabels()
getErrorMessage
public java.lang.String getErrorMessage()
- Waits for the error message to be visible and returns the error text.
hasErrorMessage
public boolean hasErrorMessage()
addLabelWithAutocomplete
public LabelsDialog addLabelWithAutocomplete(java.lang.String autocompleteText,
java.lang.String expectedLabel)
Copyright © 2003-2013 Atlassian. All Rights Reserved.