com.atlassian.confluence.webdriver.pageobjects.component.editor.MacroPropertyPanel
instead from
maven module com.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.@Deprecated public class MacroPropertyPanel extends PropertyPanel
MacroPlaceholder
.
Different to a MacroPlaceholder, the PropertyPanel is not added to the DOM of the wysiwygTextarea_ifr IFrame, but instead to the parent DOM. The PropertyPanel is generated from the <property-panel> declaration in the macro descriptor. It may have been modified on the client side, but it should at least contain the Remove and Edit buttons.
propertyPanelElement
Constructor and Description |
---|
MacroPropertyPanel()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
button(String buttonId)
Deprecated.
Locates and clicks the <a> element for a given button id.
|
MacroForm |
edit()
Deprecated.
Clicks the Edit button common to all generated property panels.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isVisible()
Deprecated.
|
void |
remove()
Deprecated.
Clicks the Remove button common to all generated property panels.
|
public void button(String buttonId)
The CSS class used for the lookup is generated by tinyMce-property-panel-macros.js. The button id is the one taken from the plugin descriptor, e.g.
<xhtml-macro>
...
<property-panel>
...
<button id="Grey" label=""/>
...
</property-panel>
...
</xhtml-macro>
means that you'd parametrise this method with Grey (case-sensitive) in order to retrieve the element representing this button.
buttonId
- the button idpublic void remove()
Clicking this button will remove the underlying macro placeholder.
public MacroForm edit()
Clicking this button will open the Macro editor and remove the underlying macro placeholder.
public com.atlassian.pageobjects.elements.query.TimedCondition isVisible()
Copyright © 2003–2020 Atlassian. All rights reserved.