Package org.xwiki.ckeditor.test.po.image
Class ImageDialogEditModal
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.ckeditor.test.po.image.ImageDialogEditModal
-
public class ImageDialogEditModal extends BaseElement
Page Object for the image edition/configuration modal.- Since:
- 14.7RC1
- Version:
- $Id: 68b619ec2fb70e6535583f38ad953fb02d1f1a52 $
-
-
Constructor Summary
Constructors Constructor Description ImageDialogEditModal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clickCaptionCheckbox()
Click on the caption checkbox field.void
clickInsert()
Click on the insert button to insert the configured image on the editor.String
getCurrentImageStyle()
Set<String>
getListImageStyles()
ImageDialogEditModal
setImageStyle(String value)
ImageDialogEditModal
waitUntilReady()
Wait until the modal is loaded.-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Method Detail
-
waitUntilReady
public ImageDialogEditModal waitUntilReady()
Wait until the modal is loaded.- Returns:
- the current page object
-
clickInsert
public void clickInsert()
Click on the insert button to insert the configured image on the editor.
-
clickCaptionCheckbox
public void clickCaptionCheckbox()
Click on the caption checkbox field.
-
getListImageStyles
public Set<String> getListImageStyles()
- Returns:
- the list of image styles values proposed in the image styles field
- Since:
- 14.8RC1
-
getCurrentImageStyle
public String getCurrentImageStyle()
- Returns:
- the currently selected value of the image styles field
- Since:
- 14.8RC1
-
setImageStyle
public ImageDialogEditModal setImageStyle(String value)
- Parameters:
value
- the user visible value of the field to select- Returns:
- the current page object
- Since:
- 14.8RC1
-
-