com.atlassian.confluence.selenium
Class EditorDraftsTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.atlassian.confluence.junit3.JUnit3TimingTestCase
com.atlassian.confluence.selenium.AbstractSeleniumTest
com.atlassian.confluence.selenium.EditorDraftsTest
- All Implemented Interfaces:
- junit.framework.Test
public class EditorDraftsTest
- extends AbstractSeleniumTest
Tests should be migrated from here to com.atlassian.confluence.webdriver.EditorDraftsTest
Fields inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest |
adminUser, assertThat, client, rpc, screenShotIndex, suite, testBlogPost, testComment, testData, testGroup, testImage, testImage2, testPage, testSpace, testUser, testUserWithApostrophe, userHelper, users |
Methods inherited from class com.atlassian.confluence.junit3.JUnit3TimingTestCase |
runBare, setExceptionTransformer |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, 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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EditorDraftsTest
public EditorDraftsTest(java.lang.String s)
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class AbstractSeleniumTest
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class AbstractSeleniumTest
- Throws:
java.lang.Exception
createTestData
protected void createTestData(ConfluenceRpc adminRpc)
- Description copied from class:
AbstractSeleniumTest
- Subclasses can override this method to make changes to the server state with admin privileges.
- Overrides:
createTestData
in class AbstractSeleniumTest
- Parameters:
adminRpc
- rpc client with Admin user currently logged in
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 java.io.IOException,
org.xml.sax.SAXException
- Throws:
java.io.IOException
org.xml.sax.SAXException
testDraftAppearsInProfile
public void testDraftAppearsInProfile()
testDeleteDraftFromProfilePage
public void testDeleteDraftFromProfilePage()
CONFDEV_9527_testDraftsSavedOnCloseCreateBlogPost
public void CONFDEV_9527_testDraftsSavedOnCloseCreateBlogPost()
CONFDEV_9527_testDraftsSavedOnClosePage
public void CONFDEV_9527_testDraftsSavedOnClosePage()
testDraftsNotSavedOnCloseForBlankPage
public void testDraftsNotSavedOnCloseForBlankPage()
testDraftsForExistingContentRemovedOnCloseWhenNoChange
public void testDraftsForExistingContentRemovedOnCloseWhenNoChange()
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()
testResumeAnonymousSessionDraft
public void testResumeAnonymousSessionDraft()
TODO_testMergeDraftForBlogpost
public void TODO_testMergeDraftForBlogpost()
Copyright © 2003-2013 Atlassian. All Rights Reserved.