|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.selenium.client.EditorAutocomplete
public class EditorAutocomplete
Represents an Autocomplete widget in the RTE that accepts keystrokes and displays a list of search results that a
user may select from.
TODO - this class copied from QuickNavBox
, both should share methods.
QuickNavBox}
,
ContentNameSearchAction}
Method Summary | |
---|---|
void |
clickItem(java.lang.String itemText)
|
void |
clickResult(TitledContent contentEntity)
|
void |
clickSearchFor()
|
int |
getNumberOfResults()
The number of results in the autocomplete dropdown not including the the headers and other menu options. |
java.lang.String |
getResultTitle(java.lang.String name)
|
static EditorAutocomplete |
triggerWithCharacter(java.lang.String trigger,
TinyMce tinyMce)
|
void |
type(java.lang.String text)
|
void |
waitForNumberOfResults(int expectedResults)
|
void |
waitForResultsToContain(TitledContent contentEntity)
Checks that the given ContentEntityObject appears in the dropdown menu. |
void |
waitForResultsToContainExactEntry(java.lang.String name)
|
void |
waitForResultsToPartiallyContain(java.lang.String partialName)
|
void |
waitForResultToBeSelected(int resultIndex)
|
void |
waitUntilQuickSearchNotBusy()
|
void |
waitUntilVisible()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static EditorAutocomplete triggerWithCharacter(java.lang.String trigger, TinyMce tinyMce)
public void type(java.lang.String text)
public void waitUntilVisible()
public void waitForNumberOfResults(int expectedResults)
public int getNumberOfResults()
public void waitForResultsToContainExactEntry(java.lang.String name)
public void waitForResultsToPartiallyContain(java.lang.String partialName)
public java.lang.String getResultTitle(java.lang.String name)
public void clickSearchFor()
public void clickResult(TitledContent contentEntity)
public void clickItem(java.lang.String itemText)
public void waitForResultsToContain(TitledContent contentEntity)
public void waitUntilQuickSearchNotBusy()
public void waitForResultToBeSelected(int resultIndex)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |