IMockerBlazorTestHelpers Members

The IMockerBlazorTestHelpers<(Of <(<'T>)>)> type exposes the following members.

Methods


  Name Description
Public method ClickButton(IElement, Func<(Of <<'(Boolean>)>>), Nullable<(Of <<'(TimeSpan>)>>))
Clicks the button element.
Public method ClickButton(String, Func<(Of <<'(Boolean>)>>), Nullable<(Of <<'(TimeSpan>)>>))
Clicks the button element.
Public method ClickButton(Func<(Of <<'(IElement, Boolean>)>>), Func<(Of <<'(Boolean>)>>), Nullable<(Of <<'(TimeSpan>)>>))
Clicks the button element.
Public method ClickButton<(Of <<'(TComponent>)>>)(String, Func<(Of <<'(Boolean>)>>), IRenderedComponent<(Of <<'(TComponent>)>>), Nullable<(Of <<'(TimeSpan>)>>))
Clicks the button element.
Public method ClickButton<(Of <<'(TComponent>)>>)(String, Func<(Of <<'(Boolean>)>>), Nullable<(Of <<'(TimeSpan>)>>))
Clicks the button element.
Public method ClickDropdownItem<(Of <<'(TComponent>)>>)(IRenderedComponent<(Of <<'(TComponent>)>>), String, String, Func<(Of <<'(Boolean>)>>))
Clicks the dropdown item.
Public method ClickDropdownItem<(Of <<'(TComponent>)>>)(String, Func<(Of <<'(Boolean>)>>), String)
Clicks the dropdown item.
Public method FindAllByTag
Finds all by tag.
Public method FindById
Finds the by identifier.
Public method GetComponent<(Of <<'(TComponent>)>>)()()()()
Gets the component.
Public method GetComponent<(Of <<'(TComponent>)>>)(Func<(Of <<'(IRenderedComponent<(Of <<'(TComponent>)>>), Boolean>)>>))
Gets the component.
Public method GetComponent<(Of <<'(TComponent>)>>)(Func<(Of <<'(IElement, Boolean>)>>))
Gets the component.
Public method GetComponents<(Of <<'(TComponent>)>>)(Nullable<(Of <<'(Func<(Of <<'(IRenderedComponent<(Of <<'(TComponent>)>>), Boolean>)>>)>)>>))
Gets the components.
Public method GetComponents<(Of <<'(TComponent>)>>)(Nullable<(Of <<'(Func<(Of <<'(IElement, Boolean>)>>)>)>>))
Gets the components.
Public method GetInjections(Type)
Gets the injections.
Public method GetInjections(Type, Type)
Gets the injections.
Public method GetInjections<(Of <<'(TComponent>)>>)()()()()
Gets the injections.
Public method InjectComponent(Type, Type)
Injects the component.
Public method InjectComponent(Type)
Injects the component.
Public method InjectComponent<(Of <<'(TComponent>)>>)()()()()
Injects the component.
Public method InjectComponent<(Of <<'(TComponent, TInjectAttribute>)>>)()()()()
Injects the component.
Public method IsExists
Determines whether the specified CSS selector is exists.
Public method RenderComponent(Boolean)
Renders the component. If the component is already rendered, it will act like a stateChanged.
Public method RenderComponent(Action<(Of <<'(ComponentParameterCollectionBuilder<(Of <<'(T>)>>)>)>>), Boolean)
Renders the component. If the component is already rendered, it will act like a stateChanged.
Public method SetAutoComplete
Sets the automatic complete.
Public method SetElementCheck<(Of <<'(TComponent>)>>)
Sets the element check.
Public method SetElementSwitch<(Of <<'(TComponent>)>>)
Sets the element switch.
Public method SetElementText(IElement, String, Func<(Of <<'(Boolean>)>>), Nullable<(Of <<'(TimeSpan>)>>))
Sets the element text.
Public method SetElementText(String, String, Func<(Of <<'(Boolean>)>>), Nullable<(Of <<'(TimeSpan>)>>), Nullable<(Of <<'(IRenderedFragment>)>>))
Sets the element text.
Public method WaitDelay
Waits the delay time. Use only when absolutely needed. Prefer use of WaitForState, WaitForExists, or WaitForNotExists.
Public method WaitForExists
Waits for exists.
Public method WaitForNotExists
Waits for not exists.
Public method WaitForState
Waits for state.