public class EditorDraftsNavigationAwayTest extends AbstractEditorDraftsTest
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.ExpectedException |
expectedException |
COMMON_LEAVE_PAGE_SUBSTRING, editorPage, SEVERAL_LINES_FOR_CONFDEV_10012, testUserdarkFeaturesHelper, methodRules, name, product, rpc, runtimeCompilationCheckRule, serverStateManager, staticRpc, testData, userHelper| Constructor and Description |
|---|
EditorDraftsNavigationAwayTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
initialise() |
void |
testBackButtonKeepsTriggeringConfirmationDialog() |
void |
testBackButtonTriggersConfirmationDialog() |
void |
testCancelConfirmationDialogDoesntTriggerConfirmationDialogAgain() |
void |
testDraftSavedOnEditAndNavigate()
Navigating away from a draft should generate a draft if the content has changed even if there is no preview or periodic
draft save to make it happen.
|
void |
testDraftSavedOnEditAndPreviewAndNavigate() |
createDraft, createDraft, discardDraftAndVerifySuccess, hitBackButton, makeChangesAndCreateDraft, makeChangesAndResumeDraft, navigateAwayAndAcceptAlert, resumeDraftFromEditor, setUpstart, stoppublic static void initialise()
public void testDraftSavedOnEditAndNavigate()
public void testDraftSavedOnEditAndPreviewAndNavigate()
public void testBackButtonKeepsTriggeringConfirmationDialog()
public void testBackButtonTriggersConfirmationDialog()
public void testCancelConfirmationDialogDoesntTriggerConfirmationDialogAgain()
Copyright © 2003–2017 Atlassian. All rights reserved.