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 |
---|---|
CancelAnyAlert |
cancelAnyAlert |
static CancelAnyAlert |
cancelAnyAlertClassRule |
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 |
---|---|
void |
clearContent() |
static void |
clearSession() |
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 ConfluenceTestedProduct product
protected static ConfluenceRpc rpc
protected static EditorPage editorPage
protected static EditorContent editorContent
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 CancelAnyAlert cancelAnyAlertClassRule
public CancelAnyAlert cancelAnyAlert
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 clearSession()
Copyright © 2003–2020 Atlassian. All rights reserved.