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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClick the "More" section of the modal that reveals all the other parameters.voidgetMacroParameter(String name) org.openqa.selenium.WebElementgetMacroParameterInput(String name) org.xwiki.test.ui.po.SuggestInputElementgetSuggestInput(String name) selectDisplayer(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.Methods inherited from class org.xwiki.ckeditor.test.po.MacroDialogEditModal
waitUntilReadyMethods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
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
- Parameters:
name- the technical name of the parameter.- Returns:
- the input value of the parameter.
-
getMacroParameterInput
- 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
- 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
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
- Returns:
- the filter parameter which has a model of its own.
-