|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject com.atlassian.jira.webtest.framework.impl.selenium.component.SeleniumCommentInput
public class SeleniumCommentInput
Selenium implementation of CommentInput
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.jira.webtest.framework.component.CommentInput |
---|
CommentInput.CommentVisibilityDropdown |
Field Summary |
---|
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware |
---|
assertThat, client, context, timeouts |
Constructor Summary | |
---|---|
SeleniumCommentInput(SeleniumLocator locator,
SeleniumContext ctx)
|
Method Summary | |
---|---|
protected SeleniumLocator |
detector()
Main locator of this page object. |
TimedCondition |
hasWikiRendering()
Check if this comment input has wiki rendering. |
TimedCondition |
isEditMode()
Check if this comment input is in edit-mode. |
TimedCondition |
isPreviewMode()
Check if this comment input is in preview-mode. |
Locator |
locator()
Locator unambiguously locating this page object. |
CommentInput |
toggleMode()
Switch mode of this comment input. |
Input |
type(com.atlassian.webtest.ui.keys.KeySequence keys)
Enter given key sequence into this input. |
TimedQuery<String> |
value()
Get this component's current value |
CommentInput.CommentVisibilityDropdown |
visibilityDropdown()
Return the visibility drop-down of this comment input |
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject |
---|
isReady |
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject |
---|
body, conditions, css, forClass, id, jQuery, locatorFor, name, queries, waitFor, xpath |
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware |
---|
context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject |
---|
context, isReady |
Constructor Detail |
---|
public SeleniumCommentInput(SeleniumLocator locator, SeleniumContext ctx)
Method Detail |
---|
public Locator locator()
Localizable
locator
in interface Localizable
protected SeleniumLocator detector()
AbstractLocatorBasedPageObject
detector
in class AbstractLocatorBasedPageObject
public CommentInput.CommentVisibilityDropdown visibilityDropdown()
CommentInput
visibilityDropdown
in interface CommentInput
public TimedCondition isEditMode()
CommentInput
true
condition.
isEditMode
in interface CommentInput
public TimedCondition isPreviewMode()
CommentInput
false condition.
- Specified by:
isPreviewMode
in interface CommentInput
- Returns:
- timed condition verifying if this comment input is in preview mode
- See Also:
CommentInput.hasWikiRendering()
public TimedCondition hasWikiRendering()
CommentInput
hasWikiRendering
in interface CommentInput
public CommentInput toggleMode()
CommentInput
CommentInput.isEditMode()
and CommentInput.isPreviewMode()
. Wiki rendering must be enabled for this operation to succeed,
toggleMode
in interface CommentInput
public Input type(com.atlassian.webtest.ui.keys.KeySequence keys)
Input
type
in interface Input
keys
- key sequence to enter
public TimedQuery<String> value()
ValueHolder
value
in interface ValueHolder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |