com.atlassian.confluence.selenium
Class LinkBrowserAdvancedLinkTest

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

public class LinkBrowserAdvancedLinkTest
extends AbstractLinkBrowserTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.selenium.AbstractLinkBrowserTest
editor, linkBrowser, NO_ATTACHMENTS_MESSAGE, 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
LinkBrowserAdvancedLinkTest()
           
 
Method Summary
 void testAvancedTabSelected()
           
 void testInsertAnchorLink()
           
 void testInsertEnabledOnEdit()
           
 void testInsertInitiallyDisabled()
           
 void testPasteAnchorLink()
          This test used to assert that the copied anchor link would point to the original page.
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractLinkBrowserTest
newLinkBrowser, setUp, tearDown
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
captureScreenShot, captureScreenShot, createTestData, removeTestData, runTest, setAjsLogRendered, setAjsLogVisible
 
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

LinkBrowserAdvancedLinkTest

public LinkBrowserAdvancedLinkTest()
Method Detail

testAvancedTabSelected

public void testAvancedTabSelected()

testInsertInitiallyDisabled

public void testInsertInitiallyDisabled()

testInsertEnabledOnEdit

public void testInsertEnabledOnEdit()

testInsertAnchorLink

public void testInsertAnchorLink()

testPasteAnchorLink

public void testPasteAnchorLink()
This test used to assert that the copied anchor link would point to the original page. The behaviour is now changed.

For CONF-23328 the tech writers require that the pasted anchor should point to the page it is being pasted to. This supports a common work flow they have of copying the content from a new copy of a page back to the original when 'publishing'.



Copyright © 2003-2011 Atlassian. All Rights Reserved.