com.atlassian.confluence.sanity
Class AbstractWebDriverSanityTest

java.lang.Object
  extended by com.atlassian.confluence.sanity.WebDriverConfiguration
      extended by com.atlassian.confluence.sanity.AbstractWebDriverSanityTest
Direct Known Subclasses:
AbstractMacroSanityTest, AnonymousAccessTest, AnonymousAccessTest, AttachmentsUpgradedTest, AutocompleteMacroTest, BasicContentCreationTest, BasicContentEditingTest, CopySpaceTest, CreateDialogTest, DashboardTest, ExistingFormattingTest, ExistingPagePermissionsTest, MentionsTest, PagePermissionTest, PurgeTest, ScrollVersionsTest, SearchIndexTest, SearchTest, SourceEditorPluginTest, SpaceDocThemeTest, UPMSanityTest

public abstract class AbstractWebDriverSanityTest
extends WebDriverConfiguration


Field Summary
static java.lang.String ALACARTE_ONDEMAND
           
 java.lang.String baseUrl
           
 com.atlassian.webdriver.AtlassianWebDriver driver
           
 com.atlassian.webdriver.testing.rule.IgnoreBrowserRule ignoreRule
           
 org.junit.rules.TestName name
           
 ConfluenceTestedProduct product
           
protected  ConfluenceRpc rpc
           
protected  ServerStateManager serverStateManager
           
 com.atlassian.webdriver.testing.rule.SessionCleanupRule sessionCleanupRule
           
 Space smokeSpace
           
 com.atlassian.webdriver.testing.rule.TestBrowserRule testBrowserRule
           
protected  TestData testData
           
protected  UserManagementHelper userHelper
           
 com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule webDriverScreenshotRule
           
 
Fields inherited from class com.atlassian.confluence.sanity.WebDriverConfiguration
ADMIN_USER, DEFAULT_BASEURL, SMOKE_ADMIN, SMOKE_SPACE_KEY, SMOKE_TEST, SYS_ADMIN, TEST_USER
 
Constructor Summary
AbstractWebDriverSanityTest()
           
 
Method Summary
 void assertMacroHasNoErrors(java.lang.String content)
           
 Space getSmokeSpace()
           
 void start()
           
 
Methods inherited from class com.atlassian.confluence.sanity.WebDriverConfiguration
getBaseUrl, getContextPath, getHttpPort, getInstanceProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ignoreRule

public com.atlassian.webdriver.testing.rule.IgnoreBrowserRule ignoreRule

testBrowserRule

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

webDriverScreenshotRule

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

sessionCleanupRule

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

name

public org.junit.rules.TestName name

baseUrl

public java.lang.String baseUrl

ALACARTE_ONDEMAND

public static final java.lang.String ALACARTE_ONDEMAND
See Also:
Constant Field Values

rpc

protected ConfluenceRpc rpc

testData

protected TestData testData

serverStateManager

protected ServerStateManager serverStateManager

userHelper

protected UserManagementHelper userHelper

product

public ConfluenceTestedProduct product

driver

public com.atlassian.webdriver.AtlassianWebDriver driver

smokeSpace

public Space smokeSpace
Constructor Detail

AbstractWebDriverSanityTest

public AbstractWebDriverSanityTest()
Method Detail

start

public void start()
           throws java.lang.Exception
Throws:
java.lang.Exception

getSmokeSpace

public Space getSmokeSpace()

assertMacroHasNoErrors

public void assertMacroHasNoErrors(java.lang.String content)


Copyright © 2003-2014 Atlassian. All Rights Reserved.