Table of Contents

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

string

IsAdvancedMode

Gets a value indicating whether the custom view editor is in advanced mode.

bool IsAdvancedMode { get; }

Property Value

bool

IsDefaultView

Gets or sets a value indicating whether the custom view is the default view.

bool IsDefaultView { get; set; }

Property Value

bool

IsShareToAllUsers

Gets or sets a value indicating whether the custom view is shared to all users.

bool IsShareToAllUsers { get; set; }

Property Value

bool

Methods

Close(bool, bool)

Closes the modal.

void Close(bool hasChanges = false, bool acceptChanges = true)

Parameters

hasChanges bool

A value indicating whether the custom view has changes.

acceptChanges bool

A 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

tabName string

The tab to select.

tabIndex int?

The tab index when the tab is repeated.

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, otherwise False.

Exceptions

AutomationException

The button to switch to advanced mode is not present.