Class OpenProjectMacroEditModal

java.lang.Object
org.xwiki.test.ui.po.BaseElement
org.xwiki.ckeditor.test.po.MacroDialogEditModal
com.xwiki.projectmanagement.test.openproject.OpenProjectMacroEditModal

public class OpenProjectMacroEditModal extends org.xwiki.ckeditor.test.po.MacroDialogEditModal
Models the edit modal of the Open Project macro.
Since:
1.0-rc-4
Version:
$Id$
  • Constructor Details

    • OpenProjectMacroEditModal

      public OpenProjectMacroEditModal()
  • Method Details

    • setMacroParameter

      public org.xwiki.ckeditor.test.po.MacroDialogEditModal setMacroParameter(String name, CharSequence... value)
      Set the value of a macro parameter.
      Parameters:
      name - the technical name of the parameter.
      value - the value that should be set.
      Returns:
      this object.
    • getMacroParameter

      public String getMacroParameter(String name)
      Parameters:
      name - the technical name of the parameter.
      Returns:
      the input value of the parameter.
    • getMacroParameterInput

      public org.openqa.selenium.WebElement getMacroParameterInput(String name)
      Parameters:
      name - the technical name of the parameter.
      Returns:
      the input element of the parameter.
    • clickMore

      public void clickMore()
      Click the "More" section of the modal that reveals all the other parameters.
    • getSuggestInput

      public org.xwiki.test.ui.po.SuggestInputElement getSuggestInput(String name)
      Parameters:
      name - the technical name of a parameter that is displayed using a selectized input.
      Returns:
      the selectized input of the given parameter name.
    • selectDisplayer

      public OpenProjectMacroEditModal selectDisplayer(String displayerName)
      Select a displayer from the list of available project management displayers.
      Parameters:
      displayerName - the pretty name of the displayer.
      Returns:
      this object.
    • clickSubmit

      public void clickSubmit()
      Overrides:
      clickSubmit in class org.xwiki.ckeditor.test.po.MacroDialogEditModal
    • getFilterBuilder

      public FilterBuilderParameter getFilterBuilder()
      Returns:
      the filter parameter which has a model of its own.