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.MacroDialogEditModalModels the edit modal of the Open Project macro.- Since:
- 1.0-rc-4
- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description OpenProjectMacroEditModal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclickMore()Click the "More" section of the modal that reveals all the other parameters.voidclickSubmit()FilterBuilderParametergetFilterBuilder()StringgetMacroParameter(String name)org.openqa.selenium.WebElementgetMacroParameterInput(String name)org.xwiki.test.ui.po.SuggestInputElementgetSuggestInput(String name)OpenProjectMacroEditModalselectDisplayer(String displayerName)Select a displayer from the list of available project management displayers.org.xwiki.ckeditor.test.po.MacroDialogEditModalsetMacroParameter(String name, CharSequence... value)Set the value of a macro parameter.
-
-
-
Method Detail
-
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:
clickSubmitin classorg.xwiki.ckeditor.test.po.MacroDialogEditModal
-
getFilterBuilder
public FilterBuilderParameter getFilterBuilder()
- Returns:
- the filter parameter which has a model of its own.
-
-