germsvel / phoenix_test

PhoenixTest provides a unified way of writing feature tests -- regardless of whether you're testing LiveView pages or static (non-LiveView) pages.
https://hex.pm/packages/phoenix_test
MIT License
181 stars 23 forks source link

✨ Form helpers now take `:exact` option #129

Closed germsvel closed 2 months ago

germsvel commented 2 months ago

Closes #107, #127

What changed?

We update all form helpers (e.g. fill_in, check, etc.) to take in the exact option. The option allows forms to target labels exactly (default) or inexactly.

That's helpful when you have labels that have more complex contents -- for example, they might have nested HTML.