com.atlassian.confluence.webdriver
Class EditorDraftsTest

java.lang.Object
  extended by com.atlassian.confluence.webdriver.AbstractInjectableWebDriverTest
      extended by com.atlassian.confluence.webdriver.EditorDraftsTest

public class EditorDraftsTest
extends AbstractInjectableWebDriverTest

Tests should be migrated from com.atlassian.confluence.selenium.EditorDraftsTest to here.


Field Summary
 
Fields inherited from class com.atlassian.confluence.webdriver.AbstractInjectableWebDriverTest
darkFeaturesHelper, methodRules, name, product, rpc, serverStateManager, testData, userHelper
 
Constructor Summary
EditorDraftsTest()
           
 
Method Summary
 void allowQuickEdit()
           
 void testBackButtonKeepsTriggeringConfirmationDialog()
           
 void testBackButtonSavesDraft()
           
 void testCannotViewChangesOnCreatePage()
           
 void testDialogForAnonymousUsers()
           
 void testDirtyCheckOnLoadInQuickEdit()
           
 void testDraftChangesDialogShows()
           
 void testDraftIsCreatedAfterSaveIntervalDuringCreate()
          This tests that autosave works.
 void testDraftIsCreatedAfterSaveIntervalDuringEdit()
          Ported from a selenium test that doesn't work on IE.
 void testDraftNotOverwrittenWithoutChangesInQuickEdit()
          If you quickedit a page with an existing draft, and you don't change any content, saving operations should not be triggered to overwrite the draft.
 void testDraftNotOverwrittenWithoutChangesInQuickEditAfterPreview()
          If you quickedit a page with an existing draft, and you don't change any content, saving operations should not be triggered to overwrite the draft.
 void testDraftSavedOnEditAndNavigate()
          Navigating away from a draft should generate a draft even if there is no preview or periodic draft save to make it happen.
 void testDraftSavedOnEditAndPreviewAndNavigate()
           
 void testNoDraftSavedOnCreateBlogAndCancel()
           
 void testNoDraftSavedOnCreatePageAndCancel()
           
 void testNoDraftSavedOnEditAndCancel()
           
 void testNoDraftSavedOnEditAndPreviewAndCancel()
           
 void testResumeEditingFromEditor()
           
 void testViewChangesWhileEditing()
           
 
Methods inherited from class com.atlassian.confluence.webdriver.AbstractInjectableWebDriverTest
start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditorDraftsTest

public EditorDraftsTest()
Method Detail

allowQuickEdit

public void allowQuickEdit()

testNoDraftSavedOnEditAndPreviewAndCancel

public void testNoDraftSavedOnEditAndPreviewAndCancel()

testNoDraftSavedOnEditAndCancel

public void testNoDraftSavedOnEditAndCancel()

testDraftSavedOnEditAndPreviewAndNavigate

public void testDraftSavedOnEditAndPreviewAndNavigate()

testBackButtonSavesDraft

public void testBackButtonSavesDraft()

testBackButtonKeepsTriggeringConfirmationDialog

public void testBackButtonKeepsTriggeringConfirmationDialog()

testDirtyCheckOnLoadInQuickEdit

public void testDirtyCheckOnLoadInQuickEdit()

testDraftNotOverwrittenWithoutChangesInQuickEditAfterPreview

public void testDraftNotOverwrittenWithoutChangesInQuickEditAfterPreview()
If you quickedit a page with an existing draft, and you don't change any content, saving operations should not be triggered to overwrite the draft.


testDraftNotOverwrittenWithoutChangesInQuickEdit

public void testDraftNotOverwrittenWithoutChangesInQuickEdit()
If you quickedit a page with an existing draft, and you don't change any content, saving operations should not be triggered to overwrite the draft.


testDraftSavedOnEditAndNavigate

public void testDraftSavedOnEditAndNavigate()
Navigating away from a draft should generate a draft even if there is no preview or periodic draft save to make it happen. If that behaviour breaks, this test will pass intermittently. THIS TEST PASSING/FAILING INTERMITTENTLY PROBABLY MEANS THE BEHAVIOUR HAS BROKEN.


testDraftChangesDialogShows

public void testDraftChangesDialogShows()

testNoDraftSavedOnCreatePageAndCancel

public void testNoDraftSavedOnCreatePageAndCancel()

testNoDraftSavedOnCreateBlogAndCancel

public void testNoDraftSavedOnCreateBlogAndCancel()

testDraftIsCreatedAfterSaveIntervalDuringEdit

public void testDraftIsCreatedAfterSaveIntervalDuringEdit()
Ported from a selenium test that doesn't work on IE. May not work on IE on WebDriver either.


testDraftIsCreatedAfterSaveIntervalDuringCreate

public void testDraftIsCreatedAfterSaveIntervalDuringCreate()
This tests that autosave works.


testResumeEditingFromEditor

public void testResumeEditingFromEditor()

testCannotViewChangesOnCreatePage

public void testCannotViewChangesOnCreatePage()

testViewChangesWhileEditing

public void testViewChangesWhileEditing()

testDialogForAnonymousUsers

public void testDialogForAnonymousUsers()


Copyright © 2003-2014 Atlassian. All Rights Reserved.