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

assert_path/refute_path partially handle Live Navigation #66

Closed germsvel closed 7 months ago

germsvel commented 7 months ago

Partially handles https://github.com/germsvel/phoenix_test/issues/62

What changed?

We improve our assert_path and refute_path implementation to partially handle live navigation. For now, we handle <.link navigate> options but we do not support <.link patch>

Patching is done at the LiveView process level, and we need to figure out how to best handle that.

For now, we release this fix to improve the experience, but we include a warning in the docs that the helpers do not support patching.