com.atlassian.jira.webtest.framework.impl.selenium.page.admin.plugins
Class SeleniumPlugins

java.lang.Object
  extended by com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
      extended by com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject
          extended by com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject
              extended by com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumPage
                  extended by com.atlassian.jira.webtest.framework.impl.selenium.page.admin.plugins.SeleniumPlugins
All Implemented Interfaces:
PageObject, AdminPage, Plugins, Page

public class SeleniumPlugins
extends AbstractSeleniumPage
implements Plugins

TODO: Document this class / interface here

Since:
v4.3

Field Summary
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
assertThat, client, context, timeouts
 
Constructor Summary
SeleniumPlugins(SeleniumContext ctx)
           
 
Method Summary
 Locator adminLinkLocator()
          Locator for the link to the page on the Administration page.
protected  SeleniumLocator detector()
          Main locator of this page object.
 Plugins disableSystemPlugin(String pluginKey)
          Perform series of operations leading to disabling of given system plugin on the page.
 Plugins enableSystemPlugin(String pluginKey)
          Perform series of operations leading to enabling of given system plugin on the page.
<T extends PluginsTab<T>>
T
openTab(Class<T> tabClass)
          Open given tab.
<T extends PluginsTab<T>>
T
pluginTab(Class<T> tabClass)
          Retrieve given plugin tab without performing any operation on it
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumPage
isAt
 
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.page.Page
isAt
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady
 

Constructor Detail

SeleniumPlugins

public SeleniumPlugins(SeleniumContext ctx)
Method Detail

enableSystemPlugin

public Plugins enableSystemPlugin(String pluginKey)
Description copied from interface: Plugins
Perform series of operations leading to enabling of given system plugin on the page.

Specified by:
enableSystemPlugin in interface Plugins
Parameters:
pluginKey - plugin key
Returns:
this page instance

disableSystemPlugin

public Plugins disableSystemPlugin(String pluginKey)
Description copied from interface: Plugins
Perform series of operations leading to disabling of given system plugin on the page.

Specified by:
disableSystemPlugin in interface Plugins
Parameters:
pluginKey - plugin key
Returns:
this page instance

openTab

public <T extends PluginsTab<T>> T openTab(Class<T> tabClass)
Description copied from interface: Plugins
Open given tab.

Specified by:
openTab in interface Plugins
Type Parameters:
T - type of the tab
Parameters:
tabClass - class of the tab page object
Returns:
tab instance

pluginTab

public <T extends PluginsTab<T>> T pluginTab(Class<T> tabClass)
Description copied from interface: Plugins
Retrieve given plugin tab without performing any operation on it

Specified by:
pluginTab in interface Plugins
Type Parameters:
T - type of the tab
Parameters:
tabClass - class of the tab page object
Returns:
tab instance

adminLinkLocator

public Locator adminLinkLocator()
Description copied from interface: AdminPage
Locator for the link to the page on the Administration page.

Specified by:
adminLinkLocator in interface AdminPage
Returns:
this page link locator

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


Copyright © 2002-2013 Atlassian. All Rights Reserved.