public class WebDriverSetupTest extends Object
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.
We can pass system properties to control setup flow -Dsetup.type (evaluation or production): set setup type to evaluation or production (default) -Dsetup.enter.license.type (enterLicense or loginMAC): set enter license type to loginMAC or enterLicense(default) -DdisableOnboarding: disable confluence onboarding when run setup test (enable by default) -DuseExampleSite: use example site (include demostration space) instead of empty site(default)
Modifier and Type | Field and Description |
---|---|
com.atlassian.webdriver.testing.rule.SessionCleanupRule |
sessionCleanupRule |
com.atlassian.webdriver.testing.rule.TestBrowserRule |
testBrowserRule |
com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule |
webDriverScreenshotRule |
Constructor and Description |
---|
WebDriverSetupTest() |
Modifier and Type | Method and Description |
---|---|
static void |
installCrowdProxyIfNeeded(ConfluenceRpc rpc)
Deprecated.
Since 5.9. Use
TestPlugins.setupTestPluginsForWebDriver(ConfluenceRpc) . |
static void |
installTestPlugins(ConfluenceRpc rpc)
Deprecated.
Since 5.6. Use
TestPlugins.setupTestPluginsForWebDriver(ConfluenceRpc) and installCrowdProxyIfNeeded(ConfluenceRpc) .
#installCrowdProxyIfNeeded(ConfluenceRpc)}. |
void |
testSetup() |
public com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule webDriverScreenshotRule
public com.atlassian.webdriver.testing.rule.SessionCleanupRule sessionCleanupRule
public com.atlassian.webdriver.testing.rule.TestBrowserRule testBrowserRule
@Deprecated public static void installTestPlugins(ConfluenceRpc rpc) throws Exception
TestPlugins.setupTestPluginsForWebDriver(ConfluenceRpc)
and installCrowdProxyIfNeeded(ConfluenceRpc)
.
#installCrowdProxyIfNeeded(ConfluenceRpc)}.Exception
@Deprecated public static void installCrowdProxyIfNeeded(ConfluenceRpc rpc) throws IOException
TestPlugins.setupTestPluginsForWebDriver(ConfluenceRpc)
.IOException
Copyright © 2003–2016 Atlassian. All rights reserved.