Class ImageDialogEditModal


  • public class ImageDialogEditModal
    extends BaseElement
    Page Object for the image edition/configuration modal.
    Since:
    14.7RC1
    Version:
    $Id: 68b619ec2fb70e6535583f38ad953fb02d1f1a52 $
    • Constructor Detail

      • ImageDialogEditModal

        public ImageDialogEditModal()
    • 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