|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject com.atlassian.jira.webtest.selenium.framework.dialogs.AbstractDialog<ActionsDialog> com.atlassian.jira.webtest.selenium.framework.dialogs.ActionsDialog
public class ActionsDialog
Test utility representing the Dot Dialog.
Field Summary |
---|
Fields inherited from class com.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject |
---|
assertThat, client, context |
Constructor Summary | |
---|---|
ActionsDialog(SeleniumContext ctx)
|
Method Summary | |
---|---|
void |
assertNoSuggestions()
|
void |
assertNotOpen()
Assert that this dialog is currently not open on the page. |
void |
assertStringIsBolded(String str)
|
void |
assertSuggestionNotPresent(String suggestion,
String... moreSuggestions)
|
void |
assertSuggestionPresent(String suggestion,
boolean focused)
|
void |
assertSuggestionPresent(String suggestion,
String... moreSuggestions)
|
void |
close()
|
void |
closeDropDown()
|
protected String |
dialogContentsReadyLocator()
Subclasses may override this method to provide dialog-specific contents locator, whose presence will indicate that the dialog contents have been loaded and the dialog is generally ready to use. |
protected String |
dropDownLocator()
|
String |
inputAreaLocator()
|
Locator |
inputLocatorObject()
|
boolean |
isOpenable()
Test if the dialog can be opened at the current location. |
boolean |
isSuggestionsOpen()
|
ActionsDialog |
open()
Open this dialog if possible. |
ActionsDialog |
openFromIssueNav(int issueId)
|
ActionsDialog |
openFromViewIssue()
|
ActionsDialog |
queryActions(String query)
|
ActionsDialog |
queryActions(String query,
boolean reset)
|
void |
selectActionUsingEnter()
|
void |
selectSuggestionUsingClick()
|
protected String |
visibleDialogContentsLocator()
jQuery locator of the main dialog component (when visible). |
Methods inherited from class com.atlassian.jira.webtest.selenium.framework.dialogs.AbstractDialog |
---|
assertReady, asTargetType, inDialog, isClosed, isOpen, locator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionsDialog(SeleniumContext ctx)
Method Detail |
---|
public ActionsDialog openFromViewIssue()
public ActionsDialog openFromIssueNav(int issueId)
public ActionsDialog open()
Dialog
public void close()
public final void assertNotOpen()
public final void closeDropDown()
protected String dropDownLocator()
public String inputAreaLocator()
public Locator inputLocatorObject()
public void assertNoSuggestions()
public void assertStringIsBolded(String str)
public ActionsDialog queryActions(String query)
public ActionsDialog queryActions(String query, boolean reset)
public void assertSuggestionPresent(String suggestion, String... moreSuggestions)
public void assertSuggestionNotPresent(String suggestion, String... moreSuggestions)
public void selectSuggestionUsingClick()
public void selectActionUsingEnter()
public void assertSuggestionPresent(String suggestion, boolean focused)
protected String visibleDialogContentsLocator()
AbstractDialog
visibleDialogContentsLocator
in class AbstractDialog<ActionsDialog>
protected String dialogContentsReadyLocator()
AbstractDialog
Subclasses may override this method to provide dialog-specific contents locator, whose presence will indicate that the dialog contents have been loaded and the dialog is generally ready to use.
If the locator has not prefix, it must be relative to the dialog contents locator, as it will be appended to the main dialog locator. Locators containing prefix will be used as the stand.
dialogContentsReadyLocator
in class AbstractDialog<ActionsDialog>
public boolean isOpenable()
Dialog
true
, if opening of the dialog is currently possiblepublic boolean isSuggestionsOpen()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |