Class AbstractEditorAwareWebDriverTest
java.lang.Object
com.atlassian.confluence.webdriver.AbstractEditorAwareWebDriverTest
- Direct Known Subclasses:
AbstractEditorWebDriverTest
The base-base class for Confluence Editor WebDriver tests.
Makes it easier to run all the tests in the same Confluence editor page sequentially, and unlike the
AbstractEditorWebDriverTest it provides the option for subclasses to modify server state before going to
the editor; by not having a @BeforeClass-annotated method.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic CancelAnyAlertprotected static EditorContentprotected static EditorPagecom.atlassian.webdriver.testing.rule.IgnoreBrowserRulecom.atlassian.webdriver.testing.rule.LogPageSourceRuleprotected static ConfluenceTestedProductprotected static ConfluenceRpccom.atlassian.webdriver.testing.rule.WebDriverScreenshotRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic voidstatic voidLogs the browser in to the instance and loads a new editor page.static voidCreates the common ConfluenceRpc instance and resets server state with common test plugins.
-
Field Details
-
product
-
rpc
-
editorPage
-
editorContent
-
ignoreRule
public com.atlassian.webdriver.testing.rule.IgnoreBrowserRule ignoreRule -
webDriverScreenshotRule
public com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule webDriverScreenshotRule -
logPageSourceRule
public com.atlassian.webdriver.testing.rule.LogPageSourceRule logPageSourceRule -
logTimeRule
-
cancelAnyAlertClassRule
-
cancelAnyAlert
-
-
Constructor Details
-
AbstractEditorAwareWebDriverTest
public AbstractEditorAwareWebDriverTest()
-
-
Method Details
-
setupServer
Creates the common ConfluenceRpc instance and resets server state with common test plugins.Intended for use in a subclass's BeforeClass-annotated method.
- Throws:
IOException
-
setupEditor
Logs the browser in to the instance and loads a new editor page.Intended for use in a subclass's BeforeClass-annotated method.
- Throws:
InterruptedExceptionIOException
-
clearContent
public void clearContent() -
clearSession
public static void clearSession()
-