|
||||||||||
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.core.component.AbstractSeleniumComponent<AjsDropdown<Dashboard>> com.atlassian.jira.webtest.framework.impl.selenium.page.dashboard.DashboardSectionImpl
public class DashboardSectionImpl
Implementation of AjsDropdown.Section
.
Field Summary |
---|
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware |
---|
assertThat, client, context, timeouts |
Constructor Summary | |
---|---|
protected |
DashboardSectionImpl(DashboardToolsMenu parent,
SeleniumContext context)
|
Method Summary | |
---|---|
protected Locator |
detector()
Main locator of this page object. |
boolean |
hasHeader()
Check whether this section has header. |
String |
header()
Header of the section |
String |
id()
Unique ID of the section |
TimedCondition |
isReady()
Returns condition representing a query about the state of this page object: if this evaluates to true , this page object is present within the current test context and may be
queried/manipulated by the test driver. |
TimedQuery<List<AjsDropdown.Item<Dashboard>>> |
items()
All items of this section. |
Locator |
locator()
Locator unambiguously locating this page object. |
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.component.AbstractSeleniumComponent |
---|
parent |
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.component.Component |
---|
parent |
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject |
---|
context |
Constructor Detail |
---|
protected DashboardSectionImpl(DashboardToolsMenu parent, SeleniumContext context)
Method Detail |
---|
public String id()
AjsDropdown.Section
id
in interface AjsDropdown.Section<Dashboard>
public String header()
AjsDropdown.Section
header
in interface AjsDropdown.Section<Dashboard>
public boolean hasHeader()
AjsDropdown.Section
hasHeader
in interface AjsDropdown.Section<Dashboard>
true
, if this section has header, false
otherwisepublic TimedQuery<List<AjsDropdown.Item<Dashboard>>> items()
AjsDropdown.Section
items
in interface AjsDropdown.Section<Dashboard>
public Locator locator()
Localizable
locator
in interface Localizable
public TimedCondition isReady()
AbstractLocatorBasedPageObject
true
, this page object is present within the current test context and may be
queried/manipulated by the test driver.
Generic implementation in terms of the underlying locator of this page object. Subclasses may extend it to provide additional/alternative conditions of readiness.
isReady
in interface PageObject
isReady
in class AbstractLocatorBasedPageObject
PageObject.isReady()
,
Conditions
protected Locator detector()
AbstractLocatorBasedPageObject
detector
in class AbstractLocatorBasedPageObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |