Testing Liveview partial

I was in this situation today, although I already did in the past but forgot how to do it :slight_smile:
Not easy to figure out, since it is not mentioned in the module documentation.

You have to use live_isolated/3.

Credit: How to do "top-down" LiveView rendering tests of nested LiveComponents - #5 by shamanime

1 Like