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
Fields
TabHeaderComponentName
public const string TabHeaderComponentName = "neos-tab-header"
Field Value
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
hasChangesboolA value indicating whether the custom view has changes.
acceptChangesboolA value indicating whether the changes must be accepted.
GetEditorContent()
Gets the content of the editor, to reach the components of the tab currently selected.
IContentComponent GetEditorContent()
Returns
- IContentComponent
The editor content.
GetFilterInputDisplays()
Gets the filter input displays.
IEnumerable<IFilterInputDisplay> GetFilterInputDisplays()
Returns
- IEnumerable<IFilterInputDisplay>
An enumrable of filter input display.
GetSubUIViewTree()
Gets the tree listing the sub UI views the custom view can configure, at every depth.
ITreeViewComponent GetSubUIViewTree()
Returns
- ITreeViewComponent
The sub UI views tree.
HasChanges()
Gets a value indicating whether the custom view has changes.
bool HasChanges()
Returns
- bool
A value indicating whether the custom view has changes.
Save()
Saves the custom view.
void Save()
SelectWizardTab(string, int?)
Selects a wizard tab.
bool SelectWizardTab(string tabName, int? tabIndex = null)
Parameters
Returns
- bool
Truewhen the tab has been selected,Falseotherwise.
SetCustomViewName(IDictionary<string, string>)
Sets the custom view name by language.
void SetCustomViewName(IDictionary<string, string> nameByLanguage)
Parameters
nameByLanguageIDictionary<string, string>A dictionnary whose key is the language code (e.g : en, fr).
SwitchToAdvancedMode()
Switches to advanced mode.
bool SwitchToAdvancedMode()
Returns
- bool
Truewhen the view has beeen switched to advanced mode, otherwiseFalse.
Exceptions
- AutomationException
The button to switch to advanced mode is not present.