com.atlassian.confluence.webdriver.editor.content
Class WikiAutoformatDashTest
java.lang.Object
com.atlassian.confluence.webdriver.AbstractEditorContentWebDriverTest
com.atlassian.confluence.webdriver.editor.content.WikiAutoformatDashTest
public class WikiAutoformatDashTest
- extends AbstractEditorContentWebDriverTest
Fields inherited from class com.atlassian.confluence.webdriver.AbstractEditorContentWebDriverTest |
cancelAnyAlert, cancelAnyEditorAuiModalDialog, editor, editorContent, globalTimeout, ignoreRule, logPageSourceRule, logTimeRule, OS_CTRL_KEY, product, rpc, webDriverScreenshotRule |
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 |
WikiAutoformatDashTest
public WikiAutoformatDashTest()
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.