com.atlassian.confluence.selenium
Class EditorRichTextTest

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

public class EditorRichTextTest
extends AbstractSeleniumTest

Editor on bamboo is very slow, so delays in this class are intentionally higher than the defaults. Note that rich text editor content is compared with lowercases as different browsers produce lowercase or uppercase html tags.


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
EditorRichTextTest(java.lang.String s)
           
 
Method Summary
protected  void setUp()
           
 void testChangeFromRichTextToWiki()
           
 void testChangeFromWikiToRichText()
           
 void testEditorResizePresent()
           
 void testExistingMacroParametersNotEscaped()
           
 void testI18n()
           
 void testRichTextEditsAreSaved()
           
 
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

EditorRichTextTest

public EditorRichTextTest(java.lang.String s)
Method Detail

setUp

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

testRichTextEditsAreSaved

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

testChangeFromRichTextToWiki

public void testChangeFromRichTextToWiki()

testChangeFromWikiToRichText

public void testChangeFromWikiToRichText()

testExistingMacroParametersNotEscaped

public void testExistingMacroParametersNotEscaped()

testI18n

public void testI18n()

testEditorResizePresent

public void testEditorResizePresent()


Copyright © 2003-2010 Atlassian. All Rights Reserved.