Fields
-
<static> ready :{boolean} A global application flag that can be set by a test to indicate that all page startup processing is done and an external automated test can begin
-
- Source:
Methods
-
<static> compareStackingContexts(el1, el2) → {number}
-
Utility used for testing. Compares two jQuery singleton wappered elements determining which element has the greatest stacking context.
Parameters:
Name Type Description el1
jQuery first element to compare el2
jQuery second element to compare - Since:
- 1.1.0
- Source:
Returns:
0 if elements have the same stacking context; 1 if the first element has a greater stacking context; -1 when the second element has a greater stacking context;- Type
- number
-
<static> domNodeForLocator(locator) → {Object}
-
Parameters:
Name Type Description locator
Object | string A locator which is either a JSON string (to be parsed using $.parseJSON), or an Object with the following properties: element: the component's selector, determined by the test author when laying out the page component: optional - in the future there may be more than one component contained within a page element subId: the string, documented by the component, that the component expects in getNodeBySubId to locate a particular subcomponent - Source:
Returns:
the subcomponent located by the subId string passed in locator, if found.- Type
- Object
-
<static> findOpenPopups() → {jQuery}
-
Returns a jQuery set of popup root elements that are open and actively managed by the popup framework.
- Since:
- 1.1.0
- Source:
Returns:
- Type
- jQuery
-
<static> getOpenPopupCount() → {number}
-
- Since:
- 1.1.0
- Source:
Returns:
total number of open popups- Type
- number