com.atlassian.confluence.selenium
Class EditorPreviewTest

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

public class EditorPreviewTest
extends AbstractSeleniumTest


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
EditorPreviewTest(String s)
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAllModesErrorsMessageInPreview()
           
 void testBlogPreviewPermissions()
           
 void testBlogPreviewWithMacroRequiringResources()
           
 void testCommentPreviewWithMacroRequiringResources()
           
 void testCommentPreviewWithPermissions()
           
 void testDiscardDraftInPreviewTab()
           
 void testEditorErrorMessageNotInPreview()
           
 void testMultipleClicksOnPreviewButtonDoesntBreak()
           
 void testPagePreviewCleansMarkup()
          Test for CONFDEV-757 to ensure that nasty markup isn't passed to the preview render.
 void testPagePreviewEmptyCells()
          Test for CONFDEV-1141 - Ensure that blank cells are padded with NBSP (i.e.
 void testPagePreviewWithMacroRequiringResources()
           
 void testPagePreviewWithPermissions()
           
 void testPageTitleNotSetToPlaceholder()
           
 void TODOXHTML_testPreviewExpandsToFitContent()
           
 
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

EditorPreviewTest

public EditorPreviewTest(String s)
Method Detail

setUp

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

tearDown

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

testPageTitleNotSetToPlaceholder

public void testPageTitleNotSetToPlaceholder()

testMultipleClicksOnPreviewButtonDoesntBreak

public void testMultipleClicksOnPreviewButtonDoesntBreak()

testPagePreviewWithPermissions

public void testPagePreviewWithPermissions()

testBlogPreviewPermissions

public void testBlogPreviewPermissions()

testCommentPreviewWithPermissions

public void testCommentPreviewWithPermissions()

testPagePreviewWithMacroRequiringResources

public void testPagePreviewWithMacroRequiringResources()

testBlogPreviewWithMacroRequiringResources

public void testBlogPreviewWithMacroRequiringResources()

testCommentPreviewWithMacroRequiringResources

public void testCommentPreviewWithMacroRequiringResources()

testDiscardDraftInPreviewTab

public void testDiscardDraftInPreviewTab()

TODOXHTML_testPreviewExpandsToFitContent

public void TODOXHTML_testPreviewExpandsToFitContent()
                                              throws Exception
Throws:
Exception

testPagePreviewCleansMarkup

public void testPagePreviewCleansMarkup()
                                 throws Exception
Test for CONFDEV-757 to ensure that nasty markup isn't passed to the preview render.

Throws:
Exception

testPagePreviewEmptyCells

public void testPagePreviewEmptyCells()
Test for CONFDEV-1141 - Ensure that blank cells are padded with NBSP (i.e. are not really empty).


testEditorErrorMessageNotInPreview

public void testEditorErrorMessageNotInPreview()

testAllModesErrorsMessageInPreview

public void testAllModesErrorsMessageInPreview()


Copyright © 2003-2011 Atlassian. All Rights Reserved.