public class EditorAutocomplete extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DROPDOWN_ID |
Modifier and Type | Method and Description |
---|---|
void |
clickAdditionalLinkWithClass(String className) |
void |
clickInsertMedia() |
LinkBrowser |
clickInsertWebLink() |
void |
clickItem(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.
|
boolean |
isPresent() |
void |
pressEnter()
Presses the enter key.
|
void |
pressUp()
Presses the up arrow key.
|
static EditorAutocomplete |
triggerWithCharacter(String trigger,
TinyMce tinyMce) |
static EditorAutocomplete |
triggerWithShortcut(TinyMce.ShortCut shortCut,
TinyMce tinyMce) |
void |
type(String text) |
void |
waitForAdditionalLinkWithClassNotPresent(String className) |
void |
waitForAdditionalLinkWithClassPresent(String className) |
void |
waitForNthResultToContain(int index,
String itemText) |
void |
waitForResultsToContain(TitledContent contentEntity)
Checks that the given ContentEntityObject appears in the dropdown menu.
|
void |
waitForResultsToPartiallyContain(String partialName) |
void |
waitUntilDead()
Waits until there is no Autocomplete dropdown present in the DOM.
|
void |
waitUntilQuickSearchNotBusy() |
public static final String DROPDOWN_ID
public static EditorAutocomplete triggerWithCharacter(String trigger, TinyMce tinyMce)
public static EditorAutocomplete triggerWithShortcut(TinyMce.ShortCut shortCut, TinyMce tinyMce)
public void type(String text)
public boolean isPresent()
public int getNumberOfResults()
public void waitForResultsToPartiallyContain(String partialName)
public void waitForNthResultToContain(int index, String itemText)
public void waitForAdditionalLinkWithClassPresent(String className)
public void waitForAdditionalLinkWithClassNotPresent(String className)
public void clickAdditionalLinkWithClass(String className)
public void clickSearchFor()
public LinkBrowser clickInsertWebLink()
public void clickInsertMedia()
public void pressUp()
public void pressEnter()
public void clickResult(TitledContent contentEntity)
public void clickItem(String itemText)
public void waitUntilDead()
public void waitForResultsToContain(TitledContent contentEntity)
public void waitUntilQuickSearchNotBusy()
Copyright © 2003–2018 Atlassian. All rights reserved.