com.atlassian.confluence.selenium
Class TinyMceLinkBrowserTest

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

public class TinyMceLinkBrowserTest
extends AbstractLinkBrowserTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.selenium.AbstractLinkBrowserTest
editor, NO_ATTACHMENTS_MESSAGE
 
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
TinyMceLinkBrowserTest()
           
 
Method Summary
protected  LinkBrowser openLinkDialog()
           
protected  void placeCursorAtBegining(boolean addingContent)
           
protected  void setUp()
           
 void testCursorPositionRestoredAfterInsert()
           
 void testEditExistingAttachmentLink()
           
 void testEditExistingAttachmentOnOtherPageLink()
           
 void testEditExistingPageLink()
           
 void testEditLinkWithNoAliasAndNoChanges()
           
 void testEditMailToLink()
           
 void testEditWebLink()
           
 void testInsertLinkForSelectedText()
           
 void testInsertMenuAttachmentOnDraftRespectsUserAttachPermission()
           
 void testInsertMenuAttachmentOnEditPageRespectsUserAttachPermission()
           
 void testInsertMenuLinkOnDraft()
           
 void testInsertMenuLinkOnEditPage()
           
 void testNoEllipsis()
          Tests that breadcrumbs don't appear as "..." even if there is plenty of room.
 void testOpenWithShortcutKey()
           
 void testWontOpenTwice()
           
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractLinkBrowserTest
insertExternalLink, insertLinkWithNoLinkText, testAnonymousUserCannotAttachFilesOnCreateBlog, testAnonymousUserInsertLinkInDraft, testAttachmentsPanelRespectsPermission, testEnterOnLinkTextField, testEnterOnSearchField, testEscapeStraightAfterOpen, testEscapeWithQuickSearch, testFromInsertRecentlyViewed, testInsertAttachmentLink, testInsertAttachmentLinkOnAddComment, testInsertLinkInPersonalSpace, testInsertLinkOnEditComment, testInsertLinkWithQuotesToPage, testInsertWebLink, testOpenAndCloseDialog, testQuickSearchForPageInDraft, testQuickSearchRespectsSpaceSelected, testQuickSearchResultsDontUseUrlEncodedTitle, testSearchBlogAndInsert, testSearchButton, testSearchForInQuickSearch, testSearchRespectsSpaceSelected, testUnicodeSymbolInQuickSearch, testUnicodeSymbolInSearch
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
captureScreenShot, captureScreenShot, createTestData, removeTestData, 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

TinyMceLinkBrowserTest

public TinyMceLinkBrowserTest()
Method Detail

setUp

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

placeCursorAtBegining

protected void placeCursorAtBegining(boolean addingContent)
Specified by:
placeCursorAtBegining in class AbstractLinkBrowserTest

openLinkDialog

protected LinkBrowser openLinkDialog()
Specified by:
openLinkDialog in class AbstractLinkBrowserTest

testOpenWithShortcutKey

public void testOpenWithShortcutKey()

testWontOpenTwice

public void testWontOpenTwice()

testInsertLinkForSelectedText

public void testInsertLinkForSelectedText()

testCursorPositionRestoredAfterInsert

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

testEditLinkWithNoAliasAndNoChanges

public void testEditLinkWithNoAliasAndNoChanges()

testNoEllipsis

public void testNoEllipsis()
Tests that breadcrumbs don't appear as "..." even if there is plenty of room. This is a timing issue and will only fail intermittently if there is a problem (It will never fail if everything is working properly).


testEditExistingPageLink

public void testEditExistingPageLink()

testEditExistingAttachmentLink

public void testEditExistingAttachmentLink()

testEditExistingAttachmentOnOtherPageLink

public void testEditExistingAttachmentOnOtherPageLink()

testEditWebLink

public void testEditWebLink()

testEditMailToLink

public void testEditMailToLink()

testInsertMenuLinkOnEditPage

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

testInsertMenuLinkOnDraft

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

testInsertMenuAttachmentOnEditPageRespectsUserAttachPermission

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

testInsertMenuAttachmentOnDraftRespectsUserAttachPermission

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


Copyright © 2003-2011 Atlassian. All Rights Reserved.