Table of Contents

Interface ICustomViewComponent

Namespace
GroupeIsa.Neos.EndToEndTests.UI.Components.CustomView
Assembly
GroupeIsa.Neos.EndToEndTests.UI.dll

Implements the functionalities of a custom view component for automation.

public interface ICustomViewComponent

Methods

CanDeleteCustomView(string)

Gets a value indicating whether the user can delete a custom view.

bool CanDeleteCustomView(string name)

Parameters

name string

The name of the custom view.

Returns

bool

A value indicating whether the user can delete a custom view.

CanEditCustomView(string)

Gets a value indicating whether the user can edit a custom view.

bool CanEditCustomView(string name)

Parameters

name string

The name of the custom view.

Returns

bool

A value indicating whether the user can edit a custom view.

CanRestoreOriginalView()

Gets a value indicating whether the user can restore the original view.

bool CanRestoreOriginalView()

Returns

bool

A value indicating whether the user can restore the original view.

CanSaveCustomView()

Gets a value indicating whether the user can save the current custom view.

bool CanSaveCustomView()

Returns

bool

A value indicating whether the user can save the current custom view.

CreateCustomViewAsync()

Create a custom view.

Task<ICustomViewEditForm> CreateCustomViewAsync()

Returns

Task<ICustomViewEditForm>

The modal component to create a custom view.

Exceptions

AutomationException

The button to create custom view cannot be clicked.

DeleteCustomView(string)

Deleted a custom view.

void DeleteCustomView(string name)

Parameters

name string

The name of the custom view.

Exceptions

AutomationException

The button to delete the custom view is not present.

EditCustomViewAsync(string)

Edits a custom view.

Task<ICustomViewEditForm> EditCustomViewAsync(string name)

Parameters

name string

The name of the custom view.

Returns

Task<ICustomViewEditForm>

The modal component to edit a custom view.

Exceptions

AutomationException

The button to edit the custom view is not present.

GetCustomViewNames()

Gets the names of the custom views displayed in the dropdown.

IEnumerable<string> GetCustomViewNames()

Returns

IEnumerable<string>

The names of the custom views displayed in the dropdown.

GetDefaultCustomViewName()

Gets the name of the default custom view.

string? GetDefaultCustomViewName()

Returns

string

The name of the default custom view or null when there is no default custom view.

GetSelectedCustomViewName()

Gets the name of the selected custom view.

string? GetSelectedCustomViewName()

Returns

string

The name of the selected custom view or null when there is no selected custom view.

HasCustomViewApplied()

Gets a value indicating whether a custom view is applied.

bool HasCustomViewApplied()

Returns

bool

A value indicating whether a custom view is applied.

IsBusy()

Gets a value indicating whether the composant is busy (a spinner is diplayed).

bool IsBusy()

Returns

bool

A value indicating whether the composant is busy.

IsDropdownOpen()

Gets a value indicating whether the dropdown is open.

bool IsDropdownOpen()

Returns

bool

A value indicating whether the dropdown is open.

OpenDropDown()

Opens the dropdown.

void OpenDropDown()

RestoreOriginalView()

Restores the original view.

void RestoreOriginalView()

Exceptions

AutomationException

The button to restore the current custom view is not present.

SaveCustomView(IFrameComponent)

Saves the current custom view.

void SaveCustomView(IFrameComponent frameComponent)

Parameters

frameComponent IFrameComponent

The current frame.

Exceptions

AutomationException

The button to save the current custom view is not present.

SelectCustomView(string)

Selects a custom view.

void SelectCustomView(string name)

Parameters

name string

The name of the custom view.

SetDefaultCustomView(string)

Sets the default custom view.

void SetDefaultCustomView(string name)

Parameters

name string

The name of the custom view.