com.atlassian.confluence.pageobjects.component.dialog
Class WikiMarkupDialog

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
      extended by com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog
          extended by com.atlassian.confluence.pageobjects.component.dialog.Dialog
              extended by com.atlassian.confluence.pageobjects.component.dialog.WikiMarkupDialog
All Implemented Interfaces:
PageComponent

public class WikiMarkupDialog
extends Dialog


Nested Class Summary
static class WikiMarkupDialog.MarkupRenderer
           
 
Field Summary
 
Fields inherited from class com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog
id
 
Fields inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
driver, frameExecutor, pageBinder, pageElementFinder, timeouts, waiter
 
Constructor Summary
WikiMarkupDialog()
           
 
Method Summary
 void clickCancel()
          Clicks the 'Cancel' link (anything in the dialog with a "button-panel-cancel-link" class.
 void clickInsert()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getContent()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getElementCssInsidePreview(String elementSelector, String css)
           
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getPreviewHtml()
          Gets the trimmed version of the preview dialog content.
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getPreviewText()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<String> queryInsidePreview(Callable callable)
           
 WikiMarkupDialog setWikiMarkup(String wikiMarkup)
           
 void switchRenderer(WikiMarkupDialog.MarkupRenderer renderer)
           
 
Methods inherited from class com.atlassian.confluence.pageobjects.component.dialog.Dialog
clickButton, clickCancelAndWaitUntilClosed, clickLink, clickPageMenu, find, findAll, getTitle, hasButton, hasLink, hasPageMenu, isButtonDisabled
 
Methods inherited from class com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog
getDialog, getHeight, getId, getWidth, isVisible, isVisibleTimed, pressEscape, pressEscapeOnly, waitForRemoval, waitUntilHidden, waitUntilVisible
 
Methods inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
getComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiMarkupDialog

public WikiMarkupDialog()
Method Detail

setWikiMarkup

public WikiMarkupDialog setWikiMarkup(String wikiMarkup)

switchRenderer

public void switchRenderer(WikiMarkupDialog.MarkupRenderer renderer)

getContent

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getContent()

getPreviewText

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getPreviewText()

getElementCssInsidePreview

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getElementCssInsidePreview(String elementSelector,
                                                                                              String css)

queryInsidePreview

public com.atlassian.pageobjects.elements.query.TimedQuery<String> queryInsidePreview(Callable callable)

getPreviewHtml

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getPreviewHtml()
Gets the trimmed version of the preview dialog content.


clickInsert

public void clickInsert()

clickCancel

public void clickCancel()
Description copied from class: Dialog
Clicks the 'Cancel' link (anything in the dialog with a "button-panel-cancel-link" class. Fails if link does not exist.

Overrides:
clickCancel in class Dialog


Copyright © 2003–2015 Atlassian. All rights reserved.