Interface ICustomViewEditForm
- Namespace
- GroupeIsa.Neos.EndToEndTests.UI.Components.CustomView
- Assembly
- GroupeIsa.Neos.EndToEndTests.UI.dll
Provides the functionalities of a custom view edit form for automation.
public interface ICustomViewEditForm
Properties
DataFilter
Gets the text representation of the data filter applied by the custom view.
string DataFilter { get; }
Property Value
IsAdvancedMode
Gets a value indicating whether the custom view editor is in advanced mode.
bool IsAdvancedMode { get; }
Property Value
IsDefaultView
Gets or sets a value indicating whether the custom view is the default view.
bool IsDefaultView { get; set; }
Property Value
IsShareToAllUsers
Gets or sets a value indicating whether the custom view is shared to all users.
bool IsShareToAllUsers { get; set; }
Property Value
Methods
Close(bool, bool)
Closes the modal.
void Close(bool hasChanges = false, bool acceptChanges = true)
Parameters
hasChanges
boolA value indicating whether the custom view has changes.
acceptChanges
boolA value indicating whether the changes must be accepted.
GetFilterInputDisplays()
Gets the filter input displays.
IEnumerable<IFilterInputDisplay> GetFilterInputDisplays()
Returns
- IEnumerable<IFilterInputDisplay>
An enumrable of filter input display.
Save()
Saves the custom view.
void Save()
SelectWizardTab(string, int?)
Selects a wizard tab.
bool SelectWizardTab(string tabName, int? tabIndex = null)
Parameters
Returns
- bool
True
when the tab has been selected,False
otherwise.
SetCustomViewName(IDictionary<string, string>)
Sets the custom view name by language.
void SetCustomViewName(IDictionary<string, string> nameByLanguage)
Parameters
nameByLanguage
IDictionary<string, string>A dictionnary whose key is the language code (e.g : en, fr).
SwitchToAdvancedMode()
Switches to advanced mode.
bool SwitchToAdvancedMode()
Returns
- bool
True
when the view has beeen switched to advanced mode, otherwiseFalse
.
Exceptions
- AutomationException
The button to switch to advanced mode is not present.