com.atlassian.confluence.selenium
Class EditorImagePropertyPanelTest

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.AbstractEditorPropertyPanelTest
                  extended by com.atlassian.confluence.selenium.EditorImagePropertyPanelTest
All Implemented Interfaces:
junit.framework.Test

public class EditorImagePropertyPanelTest
extends AbstractEditorPropertyPanelTest

Tests Image Property Panel in the RTE.


Field Summary
 
Fields inherited from class com.atlassian.confluence.selenium.AbstractEditorPropertyPanelTest
defaultUser, editor, tinyMce
 
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
EditorImagePropertyPanelTest()
           
 
Method Summary
protected  ImagePropertyPanel launchFromClickOnElement()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testClickBorder()
           
 void testClickElsewhereClosesPanel()
           
 void testClickEmoticonDoesntShowPanel()
           
 void testClickImageShowsPanel()
           
 void testClickLargeButton()
           
 void testClickMediumButton()
           
 void testClickOriginalButton()
           
 void testClickSmallButton()
           
 void testClickSmallButtonForImageOnOtherPage()
           
 void testClickSmallButtonForTallImage()
           
 void testClosePanelOnScroll()
           
 void testCloseWithEscapeKeyInsideRTE()
           
 void testFullscreen()
           
 void testKeepPanelOnScrollIfTriggeredByResize()
           
 void testPanelLocationRelavantAfterResizeChangesViewportScroll()
           
 void testRepositionPanelOnThumbnail()
           
 void testTooltips()
           
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractEditorPropertyPanelTest
testCloseWithClickOutsideRte, testCloseWithEscapeKeyOutsideRTE, waitUntilPropertyPanelGone
 
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

EditorImagePropertyPanelTest

public EditorImagePropertyPanelTest()
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

testClickEmoticonDoesntShowPanel

public void testClickEmoticonDoesntShowPanel()

testClickImageShowsPanel

public void testClickImageShowsPanel()

testClickElsewhereClosesPanel

public void testClickElsewhereClosesPanel()

testClickSmallButton

public void testClickSmallButton()

testClickSmallButtonForTallImage

public void testClickSmallButtonForTallImage()

testClickSmallButtonForImageOnOtherPage

public void testClickSmallButtonForImageOnOtherPage()

testClickMediumButton

public void testClickMediumButton()

testClickLargeButton

public void testClickLargeButton()

testClickBorder

public void testClickBorder()

testClickOriginalButton

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

testCloseWithEscapeKeyInsideRTE

public void testCloseWithEscapeKeyInsideRTE()
Overrides:
testCloseWithEscapeKeyInsideRTE in class AbstractEditorPropertyPanelTest

testRepositionPanelOnThumbnail

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

testClosePanelOnScroll

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

testKeepPanelOnScrollIfTriggeredByResize

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

testPanelLocationRelavantAfterResizeChangesViewportScroll

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

testTooltips

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

testFullscreen

public void testFullscreen()

launchFromClickOnElement

protected ImagePropertyPanel launchFromClickOnElement()
Specified by:
launchFromClickOnElement in class AbstractEditorPropertyPanelTest


Copyright © 2003-2010 Atlassian. All Rights Reserved.