com.atlassian.jira.webtest.framework.impl.selenium.page.admin.plugins
Class SeleniumPluginsList<T extends PluginComponent<T>>
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.page.admin.plugins.SeleniumPluginsList<T>
- All Implemented Interfaces:
- Localizable, PageObject, PluginsList<T>
public class SeleniumPluginsList<T extends PluginComponent<T>>
- extends AbstractLocatorBasedPageObject
- implements PluginsList<T>
Selenium implementation of the PluginsList
interface.
- Since:
- v4.3
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeleniumPluginsList
protected SeleniumPluginsList(SeleniumContext context,
String mainId,
PluginComponentFactory<T> componentFactory)
hasPluginComponent
public TimedCondition hasPluginComponent(String pluginKey)
- Description copied from interface:
PluginsList
- Check if this list has component with given pluginKey.
- Specified by:
hasPluginComponent
in interface PluginsList<T extends PluginComponent<T>>
- Parameters:
pluginKey
- plugin key to check
- Returns:
- timed condition checking if a component with given key exists in this list
hasPluginComponentMatching
public TimedCondition hasPluginComponentMatching(String pluginKeyRegex)
- Description copied from interface:
PluginsList
- Check if this list has at least one component matching pluginKeyRegex.
- Specified by:
hasPluginComponentMatching
in interface PluginsList<T extends PluginComponent<T>>
- Parameters:
pluginKeyRegex
- regular expression of the plugin key to check
- Returns:
- timed condition checking if a component with key matching given expression exists in this list
findPluginComponent
public TimedQuery<T> findPluginComponent(String pluginKey)
- Description copied from interface:
PluginsList
- Retrieve component with given pluginKey.
- Specified by:
findPluginComponent
in interface PluginsList<T extends PluginComponent<T>>
- Parameters:
pluginKey
- plugin key
- Returns:
- query for component with given plugin key in this list
detector
protected SeleniumLocator detector()
- Description copied from class:
AbstractLocatorBasedPageObject
- Main locator of this page object. Its presence means that this object is ready to be manipulated in the test.
- Specified by:
detector
in class AbstractLocatorBasedPageObject
- Returns:
- main locator of this page object
locator
public Locator locator()
- Description copied from interface:
Localizable
- Locator unambiguously locating this page object.
- Specified by:
locator
in interface Localizable
- Returns:
- locator
Copyright © 2002-2013 Atlassian. All Rights Reserved.