com.atlassian.confluence.webdriver
Class EditorDraftsTest

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

public class EditorDraftsTest
extends AbstractWebDriverTest

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


Field Summary
 
Fields inherited from class com.atlassian.confluence.webdriver.AbstractWebDriverTest
darkFeaturesHelper, ignoreRule, name, product, rpc, serverStateManager, sessionCleanupRule, testBrowserRule, testData, userHelper, webDriverScreenshotRule
 
Constructor Summary
EditorDraftsTest()
           
 
Method Summary
 void allowQuickEdit()
           
 void testCannotViewChangesOnCreatePage()
           
 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 exisiting 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 exisiting 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.AbstractWebDriverTest
clear, 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()

testDirtyCheckOnLoadInQuickEdit

public void testDirtyCheckOnLoadInQuickEdit()

testDraftNotOverwrittenWithoutChangesInQuickEditAfterPreview

public void testDraftNotOverwrittenWithoutChangesInQuickEditAfterPreview()
If you quickedit a page with an exisiting 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 exisiting 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()


Copyright © 2003-2013 Atlassian. All Rights Reserved.