public abstract class AbstractEditorAwareWebDriverTest extends Object
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.
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
Intended for use in a subclass's BeforeClass-annotated method.
IOException
public static void setupEditor() throws InterruptedException, IOException
Intended for use in a subclass's BeforeClass-annotated method.
InterruptedException
IOException
public void clearContent()
public static void cancelAnyEditor()
Copyright © 2003–2016 Atlassian. All rights reserved.