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

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

public class WikiAutoformatDashTest
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
WikiAutoformatDashTest()
           
 
Method Summary
protected  void assertEditorHtml(String html)
          Asserts that the HTML content of the editor matches the given HTML - use with care, HTML produced by the editor can be inconsistent across browsers, and HTML content returned by TinyMCE is 'cleaned up'.
 void testEmDashWithAPrecedingSpace()
           
 void testEmDashWithNonAlphaNumCharacterAfterDash()
           
 void testEmDashWithNonAlphaNumCharacterBeforeDash()
           
 void testEmDashWithoutSurroundingSpaces()
           
 void testEnDashWithAPrecedingSpace()
           
 void testEnDashWithNonAlphaNumCharacterAfterDash()
           
 void testEnDashWithNonAlphaNumCharacterBeforeDash()
           
 void testEnDashWithoutSurroundingSpaces()
           
 
Methods inherited from class com.atlassian.confluence.webdriver.AbstractEditorContentWebDriverTest
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

WikiAutoformatDashTest

public WikiAutoformatDashTest()
Method Detail

testEnDashWithAPrecedingSpace

public void testEnDashWithAPrecedingSpace()

testEnDashWithoutSurroundingSpaces

public void testEnDashWithoutSurroundingSpaces()

testEnDashWithNonAlphaNumCharacterBeforeDash

public void testEnDashWithNonAlphaNumCharacterBeforeDash()

testEnDashWithNonAlphaNumCharacterAfterDash

public void testEnDashWithNonAlphaNumCharacterAfterDash()

testEmDashWithAPrecedingSpace

public void testEmDashWithAPrecedingSpace()

testEmDashWithoutSurroundingSpaces

public void testEmDashWithoutSurroundingSpaces()

testEmDashWithNonAlphaNumCharacterBeforeDash

public void testEmDashWithNonAlphaNumCharacterBeforeDash()

testEmDashWithNonAlphaNumCharacterAfterDash

public void testEmDashWithNonAlphaNumCharacterAfterDash()

assertEditorHtml

protected void assertEditorHtml(String html)
Description copied from class: AbstractEditorContentWebDriverTest
Asserts that the HTML content of the editor matches the given HTML - use with care, HTML produced by the editor can be inconsistent across browsers, and HTML content returned by TinyMCE is 'cleaned up'. If you don't need to verify that the editor doesn't contain additional content, you should use AbstractEditorContentWebDriverTest.assertEditorHtmlContains(String) instead.

Overrides:
assertEditorHtml in class AbstractEditorContentWebDriverTest
Parameters:
html - HTML content to match


Copyright © 2003–2015 Atlassian. All rights reserved.