Phoenix.LiveViewTest.View (Phoenix LiveView v0.15.7) View Source

The struct for testing LiveViews.

The following public fields represent the LiveView:

  • id - The DOM id of the LiveView
  • module - The module of the running LiveView
  • pid - The Pid of the running LiveView
  • endpoint - The endpoint for the LiveView

See the Phoenix.LiveViewTest documentation for usage.