Package org.xwiki.ckeditor.test.po.image
Class ImageDialogSelectModal
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.ckeditor.test.po.image.ImageDialogSelectModal
-
public class ImageDialogSelectModal extends BaseElement
Page Object for the image selection modal.- Since:
- 14.7RC1
- Version:
- $Id: 6abd3e57b983774d75a54abdf3ed565f335e8803 $
-
-
Constructor Summary
Constructors Constructor Description ImageDialogSelectModal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageDialogEditModal
clickSelect()
Click on the select button to select the image and move to the image edition/configuration modal.ImageDialogIconSelectForm
switchToIconTab()
Click on the Icon tab to switch to the icon selection form.ImageDialogTreeSelectForm
switchToTreeTab()
Click on the Tree tab to switch to the document tree selection form.ImageDialogUrlSelectForm
switchToUrlTab()
Click on the Url tab to switch to the url selection form.ImageDialogSelectModal
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 ImageDialogSelectModal waitUntilReady()
Wait until the modal is loaded.- Returns:
- the current page object
-
clickSelect
public ImageDialogEditModal clickSelect()
Click on the select button to select the image and move to the image edition/configuration modal.- Returns:
- the Page Object instance for the next modal
-
switchToTreeTab
public ImageDialogTreeSelectForm switchToTreeTab()
Click on the Tree tab to switch to the document tree selection form.- Returns:
- a document tree selection form page object
-
switchToIconTab
public ImageDialogIconSelectForm switchToIconTab()
Click on the Icon tab to switch to the icon selection form.- Returns:
- an icon selection form page object
-
switchToUrlTab
public ImageDialogUrlSelectForm switchToUrlTab()
Click on the Url tab to switch to the url selection form.- Returns:
- an url selection form page object
-
-