View Source Bonfire.UI.Common.Testing.Helpers (Bonfire v0.9.10-classic-beta.169)
Summary
Functions
Helper function to test errors in form fields. Compatible with most recent versions of phoenix, unlike deprecated assert_field_error.
Wait for the LiveView to receive any queued PubSub broadcasts
Disconnect all LiveViews associated with current user or account
Stop a specific LiveView
Render stateful Surface or LiveView components
Render stateless Surface or LiveView components
Functions
Helper function to test errors in form fields. Compatible with most recent versions of phoenix, unlike deprecated assert_field_error.
floki_click(conn_or_view \\ conn(), path_or_value \\ %{}, value \\ %{})
View Sourcefloki_submit(conn_or_view \\ conn(), path_or_event, event_or_value \\ %{}, value \\ %{})
View SourceWait for the LiveView to receive any queued PubSub broadcasts
Disconnect all LiveViews associated with current user or account
Stop a specific LiveView
Render stateful Surface or LiveView components
Render stateless Surface or LiveView components