com.atlassian.confluence.selenium
Class EditorDraftsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.confluence.selenium.AbstractSeleniumTest
              extended by com.atlassian.confluence.selenium.EditorDraftsTest
All Implemented Interfaces:
junit.framework.Test

public class EditorDraftsTest
extends AbstractSeleniumTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
adminUser, assertThat, client, confluence, confluenceUsersGroup, rpc, screenShotIndex, testBlogPost, testComment, testData, testGroup, testImage, testImage2, testPage, testSpace, testUser, testUserWithApostrophe
 
Constructor Summary
EditorDraftsTest(java.lang.String s)
           
 
Method Summary
protected  void removeTestData(ConfluenceRpc adminRpc)
           
protected  void setUp()
           
 void testAttachmentsOnDraftsAreNotIndexed()
           
 void testCancelPageCreationWithAttachmentOnDraft()
          This test is to make sure that the draft is correctly removed when one cancel a page creation and that its associated attachments are also correctly removed.
 void testConflict()
           
 void testCreateAndDiscardDraft()
           
 void testCreateAndDiscardDraftOnNewPage()
           
 void testCreateAndDiscardDraftOnNewPageMaintainsChanges()
           
 void testCreateDraftAndResume()
           
 void testDeleteDraftFromProfilePage()
           
 void testDiscardDraftsDoesNotClearExistingContentInMarkup()
           
 void testDiscardDraftsDoesNotClearExistingContentInWysiwyg()
           
 void testDiscardDraftsDoesNotSaveNewEmptyDraft()
           
 void testDraftAppearsInProfile()
           
 void testDraftSavedForBlogPost()
           
 void testDraftsForExistingContentRemovedOnCancel()
           
 void testDraftsNotSavedOnCancelCreateBlogPost()
           
 void testDraftsNotSavedOnCancelCreatePage()
           
 void testDraftsSavedInWysiwygEditorCreate()
           
 void testDraftsSavedInWysiwygEditorEdit()
           
 void testDraftsSavedOnCreateBlogPost()
           
 void testDraftsSavedOnCreatePage()
           
 void testMerge()
           
 void testMergeDraftForBlogpost()
           
 void testPageAuthorWithAttachmentOnCreate()
           
 void testResumeDraftAsAnonymous()
           
 void testResumeDraftPermission()
           
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
captureScreenShot, captureScreenShot, createTestData, runTest, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EditorDraftsTest

public EditorDraftsTest(java.lang.String s)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class AbstractSeleniumTest
Throws:
java.lang.Exception

removeTestData

protected void removeTestData(ConfluenceRpc adminRpc)
Overrides:
removeTestData in class AbstractSeleniumTest

testDraftsSavedOnCreatePage

public void testDraftsSavedOnCreatePage()

testDraftsSavedOnCreateBlogPost

public void testDraftsSavedOnCreateBlogPost()

testCreateAndDiscardDraft

public void testCreateAndDiscardDraft()

testCreateAndDiscardDraftOnNewPage

public void testCreateAndDiscardDraftOnNewPage()

testCreateAndDiscardDraftOnNewPageMaintainsChanges

public void testCreateAndDiscardDraftOnNewPageMaintainsChanges()

testCreateDraftAndResume

public void testCreateDraftAndResume()

testMerge

public void testMerge()

testConflict

public void testConflict()

testDraftAppearsInProfile

public void testDraftAppearsInProfile()

testDeleteDraftFromProfilePage

public void testDeleteDraftFromProfilePage()

testDraftsNotSavedOnCancelCreateBlogPost

public void testDraftsNotSavedOnCancelCreateBlogPost()

testDraftsNotSavedOnCancelCreatePage

public void testDraftsNotSavedOnCancelCreatePage()

testDraftsForExistingContentRemovedOnCancel

public void testDraftsForExistingContentRemovedOnCancel()

testDiscardDraftsDoesNotClearExistingContentInMarkup

public void testDiscardDraftsDoesNotClearExistingContentInMarkup()

testDiscardDraftsDoesNotSaveNewEmptyDraft

public void testDiscardDraftsDoesNotSaveNewEmptyDraft()

testDraftsSavedInWysiwygEditorCreate

public void testDraftsSavedInWysiwygEditorCreate()

testDraftsSavedInWysiwygEditorEdit

public void testDraftsSavedInWysiwygEditorEdit()

testDiscardDraftsDoesNotClearExistingContentInWysiwyg

public void testDiscardDraftsDoesNotClearExistingContentInWysiwyg()

testPageAuthorWithAttachmentOnCreate

public void testPageAuthorWithAttachmentOnCreate()
                                          throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

testAttachmentsOnDraftsAreNotIndexed

public void testAttachmentsOnDraftsAreNotIndexed()

testCancelPageCreationWithAttachmentOnDraft

public void testCancelPageCreationWithAttachmentOnDraft()
This test is to make sure that the draft is correctly removed when one cancel a page creation and that its associated attachments are also correctly removed.

See CONF-9753


testDraftSavedForBlogPost

public void testDraftSavedForBlogPost()

testResumeDraftPermission

public void testResumeDraftPermission()

testResumeDraftAsAnonymous

public void testResumeDraftAsAnonymous()

testMergeDraftForBlogpost

public void testMergeDraftForBlogpost()


Copyright © 2003-2010 Atlassian. All Rights Reserved.