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, testUser
darkFeaturesHelper, methodRules, name, product, rpc, runtimeCompilationCheckRule, serverStateManager, testData, userHelper
Constructor and Description |
---|
EditorDraftsNavigationAwayTest() |
Modifier and Type | Method and Description |
---|---|
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, discardDraftAndVerifySuccess, hitBackButton, makeChangesAndCreateDraft, makeChangesAndResumeDraft, navigateAwayAndAcceptAlert, resumeDraftFromEditor, setUp
start, stop
public void testDraftSavedOnEditAndNavigate()
public void testDraftSavedOnEditAndPreviewAndNavigate()
public void testBackButtonKeepsTriggeringConfirmationDialog()
public void testBackButtonTriggersConfirmationDialog()
public void testCancelConfirmationDialogDoesntTriggerConfirmationDialogAgain()
Copyright © 2003–2016 Atlassian. All rights reserved.