com.atlassian.confluence.webdriver.editor.content
Class EditorListsTest

java.lang.Object
  extended by com.atlassian.confluence.webdriver.AbstractEditorContentWebDriverTest
      extended by com.atlassian.confluence.webdriver.editor.content.EditorListsTest

public class EditorListsTest
extends AbstractEditorContentWebDriverTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.webdriver.AbstractEditorContentWebDriverTest
cancelAnyAlert, cancelAnyEditorAuiModalDialog, editor, editorContent, globalTimeout, ignoreRule, logPageSourceRule, logTimeRule, OS_CTRL_KEY, product, rpc, webDriverScreenshotRule
 
Constructor Summary
EditorListsTest()
           
 
Method Summary
 void testAddingNewItemToADoubleBullet()
           
 void testAtStartOfListItemThatBeginsWithACursorTarget()
           
 void testBackspaceBasicBackSpaceFromStartLi()
           
 void testBackspaceInAList()
           
 void testBadNestingOfOlLists()
           
 void testBadNestingOfUlLists()
           
 void testBulletContainingNestedListShouldNotBeCollapsedWhenUserDeletesWholeWordsAtATimeWithBackSpace()
           
 void testBulletContainingNestedListShouldNotBeCollapsedWhenUserDeletesWholeWordsAtATimeWithDelete()
           
 void testBulletIsHiddenForNestedListWhenContentIsPulledIntoASeparateList()
           
 void testBulletIsHiddenIfNestedListBecomesTheFirstItemInTheFirstLi()
           
 void testBulletIsOutdentedIfItContainsAZeroWidthSpace()
           
 void testContentAfterOutdentingAListInATableCellIsNotWrappedInADiv()
           
 void testDeleteInAList()
           
 void testEnterInAnEmptyListItem()
           
 void testEnterOnHeadingInListItem()
           
 void testEnterOnSublistOutdents()
           
 void testNestedListsKeySecondLiRemovedWhenSelectingFirstLineOfSecondLiAndPressingBackspace()
           
 void testPressingENTERAtEndOfLastParagraphInAListItemProducesANewListItem()
           
 void testPressingENTERInsideATrailingEmptyParagraphInAListItemProducesANewListItem()
           
 void testPressingEnterOnFirstLiInSecondLevelListOutdentsCorrectly()
           
 void testPressingEnterOnFirstLiInThirdLevelListOutdentsCorrectly()
           
 void testPressingEnterWhenInAParagraphInAListCreatesANewListItem()
           
 void testPressingEnterWhenInTheMiddleOfAParagraphCreatesANewListItem()
           
 void testPressingMultipleEntersOnFirstLiInSecondLevelListOutdentsCorrectly()
           
 void testRemovingBulletAtStartOfListItemAndPreviousListItemIsEmpty()
           
 void testRemovingBulletAtStartOfListItemAndPreviousListItemLastChildANestedList()
           
 void testRemovingBulletAtStartOfListItemAndPreviousListItemLastChildIsABR()
           
 void testRemovingBulletAtStartOfListItemAndPreviousListItemLastChildIsATextNode()
           
 void testRemovingBulletMergeInlineElementsInCurrentListItemIntoParagraphInPreviousListItem()
           
 void testRemovingBulletMergeInlineElementsInPreviousListItemIntoParagraph()
           
 void testRemovingBulletStyleOnDeleteAtStartOfEmptyListItem()
           
 void testSecondLiRemovedWhenPressingBackspaceInsideSecondLi()
           
 void testSecondLiRemovedWhenPressingDeleteAtEndOfFirstLi()
           
 void testSecondLiRemovedWhenSelectingWholeFirstLiAndOverWritingItsContents()
           
 void testShiftTabRemovesUniqueListItem()
           
 void testTabInListCreatesNewIndentationLevel()
           
 
Methods inherited from class com.atlassian.confluence.webdriver.AbstractEditorContentWebDriverTest
assertEditorHtml, assertEditorHtml, assertEditorHtmlContains, assertEditorHtmlDoesNotContain, assertEditorText, assertElementAttributeValue, assertElementNumberOfMatches, assertElementText, assertElementText, assertElementTextContains, clearContent, clickOnElement, ignoreBrowserDecorator, ignoreBrowserDecoratorSetup, ignoreBrowserDecoratorTearDown, insertAndWaitForFixture, insertAndWaitForFixture, placeCursorAtTheEndOfElement, placeCursorAtTheStartOfElement, pressBackspace, pressDelete, pressDown, pressEnter, pressEsc, pressLeft, pressMultipleKeys, pressReturn, pressRight, pressTab, pressUp, setupEditor, tearDownEditor, typeInTheEditor, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditorListsTest

public EditorListsTest()
Method Detail

testShiftTabRemovesUniqueListItem

public void testShiftTabRemovesUniqueListItem()

testTabInListCreatesNewIndentationLevel

public void testTabInListCreatesNewIndentationLevel()

testBackspaceInAList

public void testBackspaceInAList()

testBackspaceBasicBackSpaceFromStartLi

public void testBackspaceBasicBackSpaceFromStartLi()

testDeleteInAList

public void testDeleteInAList()

testEnterInAnEmptyListItem

public void testEnterInAnEmptyListItem()

testSecondLiRemovedWhenPressingBackspaceInsideSecondLi

public void testSecondLiRemovedWhenPressingBackspaceInsideSecondLi()

testSecondLiRemovedWhenPressingDeleteAtEndOfFirstLi

public void testSecondLiRemovedWhenPressingDeleteAtEndOfFirstLi()

testSecondLiRemovedWhenSelectingWholeFirstLiAndOverWritingItsContents

public void testSecondLiRemovedWhenSelectingWholeFirstLiAndOverWritingItsContents()

testBulletIsHiddenIfNestedListBecomesTheFirstItemInTheFirstLi

public void testBulletIsHiddenIfNestedListBecomesTheFirstItemInTheFirstLi()

testBulletIsHiddenForNestedListWhenContentIsPulledIntoASeparateList

public void testBulletIsHiddenForNestedListWhenContentIsPulledIntoASeparateList()

testBulletContainingNestedListShouldNotBeCollapsedWhenUserDeletesWholeWordsAtATimeWithBackSpace

public void testBulletContainingNestedListShouldNotBeCollapsedWhenUserDeletesWholeWordsAtATimeWithBackSpace()

testBulletContainingNestedListShouldNotBeCollapsedWhenUserDeletesWholeWordsAtATimeWithDelete

public void testBulletContainingNestedListShouldNotBeCollapsedWhenUserDeletesWholeWordsAtATimeWithDelete()

testEnterOnHeadingInListItem

public void testEnterOnHeadingInListItem()

testPressingEnterOnFirstLiInSecondLevelListOutdentsCorrectly

public void testPressingEnterOnFirstLiInSecondLevelListOutdentsCorrectly()

testPressingEnterOnFirstLiInThirdLevelListOutdentsCorrectly

public void testPressingEnterOnFirstLiInThirdLevelListOutdentsCorrectly()

testEnterOnSublistOutdents

public void testEnterOnSublistOutdents()

testAtStartOfListItemThatBeginsWithACursorTarget

public void testAtStartOfListItemThatBeginsWithACursorTarget()

testContentAfterOutdentingAListInATableCellIsNotWrappedInADiv

public void testContentAfterOutdentingAListInATableCellIsNotWrappedInADiv()

testPressingEnterWhenInAParagraphInAListCreatesANewListItem

public void testPressingEnterWhenInAParagraphInAListCreatesANewListItem()

testPressingEnterWhenInTheMiddleOfAParagraphCreatesANewListItem

public void testPressingEnterWhenInTheMiddleOfAParagraphCreatesANewListItem()

testAddingNewItemToADoubleBullet

public void testAddingNewItemToADoubleBullet()

testBadNestingOfUlLists

public void testBadNestingOfUlLists()

testBadNestingOfOlLists

public void testBadNestingOfOlLists()

testRemovingBulletStyleOnDeleteAtStartOfEmptyListItem

public void testRemovingBulletStyleOnDeleteAtStartOfEmptyListItem()

testRemovingBulletAtStartOfListItemAndPreviousListItemLastChildIsATextNode

public void testRemovingBulletAtStartOfListItemAndPreviousListItemLastChildIsATextNode()

testRemovingBulletAtStartOfListItemAndPreviousListItemLastChildIsABR

public void testRemovingBulletAtStartOfListItemAndPreviousListItemLastChildIsABR()

testNestedListsKeySecondLiRemovedWhenSelectingFirstLineOfSecondLiAndPressingBackspace

public void testNestedListsKeySecondLiRemovedWhenSelectingFirstLineOfSecondLiAndPressingBackspace()

testPressingMultipleEntersOnFirstLiInSecondLevelListOutdentsCorrectly

public void testPressingMultipleEntersOnFirstLiInSecondLevelListOutdentsCorrectly()

testRemovingBulletAtStartOfListItemAndPreviousListItemIsEmpty

public void testRemovingBulletAtStartOfListItemAndPreviousListItemIsEmpty()

testRemovingBulletAtStartOfListItemAndPreviousListItemLastChildANestedList

public void testRemovingBulletAtStartOfListItemAndPreviousListItemLastChildANestedList()

testRemovingBulletMergeInlineElementsInPreviousListItemIntoParagraph

public void testRemovingBulletMergeInlineElementsInPreviousListItemIntoParagraph()

testRemovingBulletMergeInlineElementsInCurrentListItemIntoParagraphInPreviousListItem

public void testRemovingBulletMergeInlineElementsInCurrentListItemIntoParagraphInPreviousListItem()

testBulletIsOutdentedIfItContainsAZeroWidthSpace

public void testBulletIsOutdentedIfItContainsAZeroWidthSpace()

testPressingENTERInsideATrailingEmptyParagraphInAListItemProducesANewListItem

public void testPressingENTERInsideATrailingEmptyParagraphInAListItemProducesANewListItem()

testPressingENTERAtEndOfLastParagraphInAListItemProducesANewListItem

public void testPressingENTERAtEndOfLastParagraphInAListItemProducesANewListItem()


Copyright © 2003-2014 Atlassian. All Rights Reserved.