public abstract class AbstractEditorDraftsTest extends AbstractInjectableWebDriverTest
Modifier and Type | Field and Description |
---|---|
protected static String |
COMMON_LEAVE_PAGE_SUBSTRING |
protected EditorPage |
editorPage |
protected static String |
SEVERAL_LINES_FOR_CONFDEV_10012 |
protected User |
testUser |
darkFeaturesHelper, methodRules, name, product, rpc, runtimeCompilationCheckRule, serverStateManager, staticRpc, testData, userHelper
Constructor and Description |
---|
AbstractEditorDraftsTest() |
Modifier and Type | Method and Description |
---|---|
protected long |
createDraft(String title) |
protected long |
createDraft(String title,
ContentType type,
String content) |
protected void |
discardDraftAndVerifySuccess() |
protected void |
hitBackButton() |
protected void |
makeChangesAndCreateDraft(User user,
AbstractPageEntity page,
String draftContent) |
protected EditorPage |
makeChangesAndResumeDraft(User user,
AbstractPageEntity page,
String draftContent) |
protected void |
navigateAwayAndAcceptAlert() |
protected void |
resumeDraftFromEditor(EditorPage editorPage,
String draftContent) |
void |
setUp() |
start, stop
protected EditorPage editorPage
protected User testUser
protected static final String SEVERAL_LINES_FOR_CONFDEV_10012
protected static final String COMMON_LEAVE_PAGE_SUBSTRING
public void setUp()
protected void hitBackButton()
protected void navigateAwayAndAcceptAlert()
protected EditorPage makeChangesAndResumeDraft(User user, AbstractPageEntity page, String draftContent)
protected void resumeDraftFromEditor(EditorPage editorPage, String draftContent)
protected void makeChangesAndCreateDraft(User user, AbstractPageEntity page, String draftContent)
protected void discardDraftAndVerifySuccess()
protected long createDraft(String title)
protected long createDraft(String title, ContentType type, String content)
Copyright © 2003–2017 Atlassian. All rights reserved.