|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DashboardTab
Tab containing contents of a single user dashboard on the Dashboard
page.
Method Summary | ||
---|---|---|
|
gadget(Class<T> gadgetType)
Find gadget of given gadgetType. |
|
|
gadget(Class<T> gadgetType,
int gadgetId)
Find gadget of given gadgetType and with given ID. |
|
TimedCondition |
hasGadget(Class<? extends Gadget> gadgetType)
Check if dashboard has a given gadget. |
|
TimedCondition |
hasGadget(Class<? extends Gadget> gadgetType,
int gadgetId)
Check if dashboard has gadget of given type and with given gadgetId. |
Methods inherited from interface com.atlassian.jira.webtest.framework.component.tab.NamedTab |
---|
name |
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Localizable |
---|
locator |
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Openable |
---|
isClosed, isOpen, isOpenable, open |
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject |
---|
context, isReady |
Method Detail |
---|
TimedCondition hasGadget(Class<? extends Gadget> gadgetType)
Check if dashboard has a given gadget.
NOTE: there may be more than one gadgets on a given Dashboard page and this method will not convey information
about how many gadgets are there. Use hasGadget(Class, int)
to check for a gadget with particular ID.
gadgetType
- type of the gadget
hasGadget(Class, int)
TimedCondition hasGadget(Class<? extends Gadget> gadgetType, int gadgetId)
Check if dashboard has gadget of given type and with given gadgetId.
gadgetType
- type of the gadgetgadgetId
- ID of the gadget
<T extends Gadget> T gadget(Class<T> gadgetType)
Find gadget of given gadgetType.
NOTE: if there are multiple gadget of gadgetType on the particular dashboard, the first found one will be returned
T
- type parameter of gadgetgadgetType
- gadget class
PageObject.isReady()
,
or by hasGadget(Class)
.<T extends Gadget> T gadget(Class<T> gadgetType, int gadgetId)
Find gadget of given gadgetType and with given ID.
T
- type parameter of gadgetgadgetType
- gadget classgadgetId
- ID of the gadget
PageObject.isReady()
,
or by hasGadget(Class, int)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |