com.atlassian.confluence.selenium
Class EditorDraftsTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.atlassian.confluence.selenium.AbstractSeleniumTest
com.atlassian.confluence.selenium.EditorDraftsTest
- All Implemented Interfaces:
- junit.framework.Test
public class EditorDraftsTest
- extends AbstractSeleniumTest
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 |
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 |
EditorDraftsTest
public EditorDraftsTest(String s)
setUp
protected void setUp()
throws Exception
- Overrides:
setUp
in class AbstractSeleniumTest
- Throws:
Exception
tearDown
protected void tearDown()
throws Exception
- Overrides:
tearDown
in class AbstractSeleniumTest
- Throws:
Exception
createTestData
protected void createTestData(ConfluenceRpc adminRpc)
- Overrides:
createTestData
in class AbstractSeleniumTest
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()
throws IOException,
SAXException
- Throws:
IOException
SAXException
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 InterruptedException
- Throws:
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()
Copyright © 2003-2011 Atlassian. All Rights Reserved.