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

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

public class EditorDeleteTest
extends AbstractEditorContentWebDriverTest

Tests deletion in the editor.


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
EditorDeleteTest()
           
 
Method Summary
 void testBackspaceOnlyRemovesOneBlankParagraphAtATimeWhenCursorPrecedesNonEmptyParagraph()
          We only test backspace in front of a non-empty paragraph because it's broken otherwise (see CONFDEV-18264).
 void testBackspacingContentIntoAParagraphAltersFormatting()
           
 void testBackspacingContentIntoEmptyParagraphDoesNotRemoveFormatting()
           
 void testBackspacingContentIntoParagraphWithBrDoesNotRemoveParagraph()
          Test for CONFDEV-7033.
 void testBackspacingContentIntoParagraphWithNbspDoesNotRemoveParagraph()
          Test for CONFDEV-7033.
 void testBackspacingContentIntoParagraphWithZeroWidthSpace()
           
 void testBackspacingDoesNotDeleteTableCells()
           
 void testBackspacingDoesNotDeleteTheDividingParagraphAfterTable()
           
 void testConsecutiveParagraphsCombinedByDeleteDoNotLoseColoursInChrome()
          CONFDEV-18319 Consecutive paragraphs with colours lose colours when joined
 void testConsecutiveParagraphsCombinedByDeleteDoNotLoseColoursInFF()
          CONFDEV-18319 Consecutive paragraphs with colours lose colours when joined
 void testConvertingParagraphToHeadingByBackspace()
           
 void testConvertingParagraphToHeadingByBackspaceDoesNotLoseColours()
           
 void testConvertingParagraphToHeadingByDelete()
           
 void testConvertingParagraphToHeadingByDeleteDoesNotLoseColours()
           
 void testCursorPositionAfterDelete()
           
 void testDeleteBlockquote()
           
 void testDeleteDoesNotDeleteTheDividingParagraphAfterTable()
           
 void testDeleteFromEmptyParagraphDoesNotRemoveFormatting()
           
 void testDeleteLine()
           
 void testDeleteLineAboveHeaderRetainsHeadingFormat()
           
 void testDeletingContentIntoParagraphWithZeroWidthSpace()
           
 void testDeletingDoesNotDeleteTableCells()
           
 void testDeletingLinesWithHeadings()
           
 void testPartialLinkDeletion()
           
 void testPressingDeleteFromEndOfParagraphMergesTheLineBelow()
           
 
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

EditorDeleteTest

public EditorDeleteTest()
Method Detail

testDeleteLine

public void testDeleteLine()

testDeleteLineAboveHeaderRetainsHeadingFormat

public void testDeleteLineAboveHeaderRetainsHeadingFormat()

testDeleteBlockquote

public void testDeleteBlockquote()

testPartialLinkDeletion

public void testPartialLinkDeletion()

testDeletingLinesWithHeadings

public void testDeletingLinesWithHeadings()

testConvertingParagraphToHeadingByBackspace

public void testConvertingParagraphToHeadingByBackspace()

testConvertingParagraphToHeadingByDelete

public void testConvertingParagraphToHeadingByDelete()

testConvertingParagraphToHeadingByBackspaceDoesNotLoseColours

public void testConvertingParagraphToHeadingByBackspaceDoesNotLoseColours()

testConvertingParagraphToHeadingByDeleteDoesNotLoseColours

public void testConvertingParagraphToHeadingByDeleteDoesNotLoseColours()

testConsecutiveParagraphsCombinedByDeleteDoNotLoseColoursInChrome

public void testConsecutiveParagraphsCombinedByDeleteDoNotLoseColoursInChrome()
CONFDEV-18319 Consecutive paragraphs with colours lose colours when joined


testConsecutiveParagraphsCombinedByDeleteDoNotLoseColoursInFF

public void testConsecutiveParagraphsCombinedByDeleteDoNotLoseColoursInFF()
CONFDEV-18319 Consecutive paragraphs with colours lose colours when joined


testDeleteFromEmptyParagraphDoesNotRemoveFormatting

public void testDeleteFromEmptyParagraphDoesNotRemoveFormatting()

testBackspacingContentIntoEmptyParagraphDoesNotRemoveFormatting

public void testBackspacingContentIntoEmptyParagraphDoesNotRemoveFormatting()

testPressingDeleteFromEndOfParagraphMergesTheLineBelow

public void testPressingDeleteFromEndOfParagraphMergesTheLineBelow()

testBackspacingContentIntoAParagraphAltersFormatting

public void testBackspacingContentIntoAParagraphAltersFormatting()

testBackspacingDoesNotDeleteTableCells

public void testBackspacingDoesNotDeleteTableCells()

testDeletingDoesNotDeleteTableCells

public void testDeletingDoesNotDeleteTableCells()

testBackspacingDoesNotDeleteTheDividingParagraphAfterTable

public void testBackspacingDoesNotDeleteTheDividingParagraphAfterTable()

testDeleteDoesNotDeleteTheDividingParagraphAfterTable

public void testDeleteDoesNotDeleteTheDividingParagraphAfterTable()

testCursorPositionAfterDelete

public void testCursorPositionAfterDelete()

testBackspaceOnlyRemovesOneBlankParagraphAtATimeWhenCursorPrecedesNonEmptyParagraph

public void testBackspaceOnlyRemovesOneBlankParagraphAtATimeWhenCursorPrecedesNonEmptyParagraph()
We only test backspace in front of a non-empty paragraph because it's broken otherwise (see CONFDEV-18264).


testBackspacingContentIntoParagraphWithNbspDoesNotRemoveParagraph

public void testBackspacingContentIntoParagraphWithNbspDoesNotRemoveParagraph()
Test for CONFDEV-7033.


testBackspacingContentIntoParagraphWithBrDoesNotRemoveParagraph

public void testBackspacingContentIntoParagraphWithBrDoesNotRemoveParagraph()
Test for CONFDEV-7033.


testBackspacingContentIntoParagraphWithZeroWidthSpace

public void testBackspacingContentIntoParagraphWithZeroWidthSpace()

testDeletingContentIntoParagraphWithZeroWidthSpace

public void testDeletingContentIntoParagraphWithZeroWidthSpace()


Copyright © 2003-2014 Atlassian. All Rights Reserved.