LiveViewTest's awesome form/3 helper
There are two ways to write LiveView form tests:
- Using view |> render_submit/3
- Using view |> form/3 |> render_submit/2
🔥Always use the form/3
helper🔥
It validates the form data against the HTML to ensure the elements exists! 🎉
Read next Customize outputs with Inspect protocol