com.atlassian.confluence.selenium
Class EditorPreviewTest

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.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, rpc, screenShotIndex, suite, testBlogPost, testComment, testData, testGroup, testImage, testImage2, testPage, testSpace, testUser, testUserWithApostrophe, userHelper, users
 
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 testPagePreviewWithTocMacroInExistingPage()
           
 void testPageTitleNotSetToPlaceholder()
           
 void TODOXHTML_testPreviewExpandsToFitContent()
           
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
captureScreenShot, createTestData, runTest, setAjsLogRendered, setAjsLogVisible
 
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

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()

testPagePreviewWithTocMacroInExistingPage

public void testPagePreviewWithTocMacroInExistingPage()


Copyright © 2003-2013 Atlassian. All Rights Reserved.