public abstract class AbstractEditorAwareWebDriverTest extends Object
AbstractEditorWebDriverTest it provides the option for subclasses to modify server state before going to
the editor; by not having a @BeforeClass-annotated method.| Modifier and Type | Field and Description |
|---|---|
protected static EditorContent |
editorContent |
protected static EditorPage |
editorPage |
com.atlassian.webdriver.testing.rule.IgnoreBrowserRule |
ignoreRule |
com.atlassian.webdriver.testing.rule.LogPageSourceRule |
logPageSourceRule |
LogTimeRule |
logTimeRule |
protected static ConfluenceTestedProduct |
product |
protected static ConfluenceRpc |
rpc |
com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule |
webDriverScreenshotRule |
| Constructor and Description |
|---|
AbstractEditorAwareWebDriverTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cancelAnyEditor() |
void |
clearContent() |
static void |
setupEditor()
Logs the browser in to the instance and loads a new editor page.
|
static void |
setupServer()
Creates the common ConfluenceRpc instance and resets server state with common test plugins.
|
protected static EditorPage editorPage
protected static ConfluenceTestedProduct product
protected static EditorContent editorContent
protected static ConfluenceRpc rpc
public com.atlassian.webdriver.testing.rule.IgnoreBrowserRule ignoreRule
public com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule webDriverScreenshotRule
public com.atlassian.webdriver.testing.rule.LogPageSourceRule logPageSourceRule
public LogTimeRule logTimeRule
public static void setupServer()
throws IOException
IOExceptionpublic static void setupEditor()
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionpublic void clearContent()
public static void cancelAnyEditor()
Copyright © 2003–2015 Atlassian. All rights reserved.