Closed ftes closed 3 months ago
Given a "static" form
<input name="user[name]" value="Ada" /> <button name="user[action]" value="save">Save</button>
When I click on the "Save" button
Then (actual behaviour) this is submitted
form_data = %{"user" => %{"name" => "Ada"}}
Instead of (expected behaviour)
form_data = %{"user" => %{"name" => "Ada", "action" => "save"}}
Already correctly implemented by LiveView test.
Given a "static" form
When I click on the "Save" button
Then (actual behaviour) this is submitted
Instead of (expected behaviour)
Remarks
Already correctly implemented by LiveView test.