com.atlassian.confluence.selenium
Class EditorInsertImageDialogTest

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.EditorInsertImageDialogTest
All Implemented Interfaces:
junit.framework.Test

public class EditorInsertImageDialogTest
extends AbstractSeleniumTest

Tests the insert image dialog. Pretty much all the tests from EditorInsertImageTestOld should eventually work in the new dialog and should end up in a new incarnation here.


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
EditorInsertImageDialogTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testCursorPositionRestoredAfterImageInsert()
           
 void testEditImageInDialog()
           
 void testImageAttachmentPreview()
           
 void testImageDialogWithBadPageName()
           
 void testInsertExternalImage()
           
 void testInsertExternalImageNoThumbnailOption()
           
 void testInsertExternalImagePreviewError()
           
 void testInsertImageAttachment()
           
 void testInsertImageInComment()
           
 void testInsertImageInDraft()
           
 void testNoAttachingToDraftForAnonymousUser()
           
 void testNoAttachingToPageForUnpermittedUser()
           
 void testOpeningDialogDoesNotScrollPage()
           
 void testUploadFormAppearanceInComment()
           
 void testUploadFormAppearsForPermittedUser()
           
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
captureScreenShot, captureScreenShot, createTestData, removeTestData, runTest
 
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

EditorInsertImageDialogTest

public EditorInsertImageDialogTest()
Method Detail

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

testInsertImageAttachment

public void testInsertImageAttachment()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testImageAttachmentPreview

public void testImageAttachmentPreview()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testInsertImageInComment

public void testInsertImageInComment()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testInsertImageInDraft

public void testInsertImageInDraft()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testInsertExternalImage

public void testInsertExternalImage()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testInsertExternalImagePreviewError

public void testInsertExternalImagePreviewError()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testInsertExternalImageNoThumbnailOption

public void testInsertExternalImageNoThumbnailOption()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testNoAttachingToDraftForAnonymousUser

public void testNoAttachingToDraftForAnonymousUser()

testNoAttachingToPageForUnpermittedUser

public void testNoAttachingToPageForUnpermittedUser()

testUploadFormAppearsForPermittedUser

public void testUploadFormAppearsForPermittedUser()

testUploadFormAppearanceInComment

public void testUploadFormAppearanceInComment()

testImageDialogWithBadPageName

public void testImageDialogWithBadPageName()

testCursorPositionRestoredAfterImageInsert

public void testCursorPositionRestoredAfterImageInsert()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

testOpeningDialogDoesNotScrollPage

public void testOpeningDialogDoesNotScrollPage()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testEditImageInDialog

public void testEditImageInDialog()
                           throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2003-2010 Atlassian. All Rights Reserved.