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 installTestPlugins(ConfluenceRpc rpc)
           
 void testSeleniumSetup()
           
 
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

public static void installTestPlugins(ConfluenceRpc rpc)
                               throws Exception
Throws:
Exception

testSeleniumSetup

public void testSeleniumSetup()
                       throws Exception
Throws:
Exception


Copyright © 2003-2012 Atlassian. All Rights Reserved.