com.atlassian.confluence.selenium
Class QuickCommentEditorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.confluence.junit3.JUnit3TimingTestCase
              extended by com.atlassian.confluence.selenium.AbstractSeleniumTest
                  extended by com.atlassian.confluence.selenium.QuickCommentEditorTest
All Implemented Interfaces:
junit.framework.Test

public class QuickCommentEditorTest
extends AbstractSeleniumTest

Tests to ensure that the "Quick" comment editor launches properly and that some of the related functionality such as "watch" initialises correctly. Actual integration testing for quick comment is handled by our QUnit integration testing.


Field Summary
 
Fields inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
adminUser, assertThat, client, rpc, screenShotIndex, suite, testBlogPost, testComment, testData, testGroup, testImage, testImage2, testPage, testSpace, testUser, testUserWithApostrophe, userHelper, users
 
Constructor Summary
QuickCommentEditorTest()
           
 
Method Summary
protected  void setUp()
           
 void testActivateReplyComment()
           
 void testActivateTopLevelComment()
           
 void testTopLevelCommentForNonAsciiCharacters()
           
 void testTopLevelCommentPreview()
           
 void testTopLevelCommentWatchWhenToolsMenuWatchToggle()
           
 void testTopLevelCommentWatchWhenToolsMenuWatchUsedAndEditorNotActive()
           
 void testTopLevelCommentWhenAlreadyWatchingPage()
           
 void testTopLevelWithCaptchaEnabled()
           
 void testTopLevelWithWrongCaptcha()
           
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
captureScreenShot, createTestData, runTest, setAjsLogRendered, setAjsLogVisible, tearDown
 
Methods inherited from class com.atlassian.confluence.junit3.JUnit3TimingTestCase
runBare, setExceptionTransformer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QuickCommentEditorTest

public QuickCommentEditorTest()
Method Detail

setUp

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

testActivateTopLevelComment

public void testActivateTopLevelComment()
                                 throws Exception
Throws:
Exception

testTopLevelCommentWhenAlreadyWatchingPage

public void testTopLevelCommentWhenAlreadyWatchingPage()
                                                throws Exception
Throws:
Exception

testTopLevelCommentWatchWhenToolsMenuWatchToggle

public void testTopLevelCommentWatchWhenToolsMenuWatchToggle()
                                                      throws Exception
Throws:
Exception

testTopLevelCommentWatchWhenToolsMenuWatchUsedAndEditorNotActive

public void testTopLevelCommentWatchWhenToolsMenuWatchUsedAndEditorNotActive()
                                                                      throws Exception
Throws:
Exception

testTopLevelCommentForNonAsciiCharacters

public void testTopLevelCommentForNonAsciiCharacters()
                                              throws Exception
Throws:
Exception

testTopLevelWithCaptchaEnabled

public void testTopLevelWithCaptchaEnabled()

testTopLevelWithWrongCaptcha

public void testTopLevelWithWrongCaptcha()

testTopLevelCommentPreview

public void testTopLevelCommentPreview()

testActivateReplyComment

public void testActivateReplyComment()
                              throws Exception
Throws:
Exception


Copyright © 2003-2013 Atlassian. All Rights Reserved.