com.atlassian.confluence.webdriver
Class WebDriverSetupTest

java.lang.Object
  extended by com.atlassian.confluence.webdriver.WebDriverSetupTest

public class WebDriverSetupTest
extends Object

Setups up Confluence for Web Driver tests.

A standard install is done through the setup wizard with a commercial license and the Functest Rpc plugin is installed.

This test also visits some pages after setup to cater for initial javascript load time and stop tests from intermittent failures.


Field Summary
 com.atlassian.webdriver.testing.rule.SessionCleanupRule sessionCleanupRule
           
 com.atlassian.webdriver.testing.rule.TestBrowserRule testBrowserRule
           
 com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule webDriverScreenshotRule
           
 
Constructor Summary
WebDriverSetupTest()
           
 
Method Summary
static void installCrowdProxyIfNeeded(ConfluenceRpc rpc)
           
static void installTestPlugins(ConfluenceRpc rpc)
          Deprecated. Since 5.6. Use TestPlugins.setupTestPluginsForWebDriver(ConfluenceRpc) and installCrowdProxyIfNeeded(ConfluenceRpc).
 void testSetup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

webDriverScreenshotRule

public com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule webDriverScreenshotRule

sessionCleanupRule

public com.atlassian.webdriver.testing.rule.SessionCleanupRule sessionCleanupRule

testBrowserRule

public com.atlassian.webdriver.testing.rule.TestBrowserRule testBrowserRule
Constructor Detail

WebDriverSetupTest

public WebDriverSetupTest()
Method Detail

installTestPlugins

@Deprecated
public static void installTestPlugins(ConfluenceRpc rpc)
                               throws Exception
Deprecated. Since 5.6. Use TestPlugins.setupTestPluginsForWebDriver(ConfluenceRpc) and installCrowdProxyIfNeeded(ConfluenceRpc).

Throws:
Exception

installCrowdProxyIfNeeded

public static void installCrowdProxyIfNeeded(ConfluenceRpc rpc)
                                      throws IOException
Throws:
IOException

testSetup

public void testSetup()
               throws Exception
Throws:
Exception


Copyright © 2003–2015 Atlassian. All rights reserved.