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 |
---|---|
static DisableSslVerificationRule |
disableSslVerificationRule |
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 |
installTestPlugins(ConfluenceRpc rpc)
Deprecated.
Since 5.6. Use
TestPlugins.setupTestPluginsForWebDriver(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
public static DisableSslVerificationRule disableSslVerificationRule
@Deprecated public static void installTestPlugins(ConfluenceRpc rpc) throws Exception
TestPlugins.setupTestPluginsForWebDriver(ConfluenceRpc)
Exception
Copyright © 2003–2017 Atlassian. All rights reserved.