phoenix_live_view icon indicating copy to clipboard operation
phoenix_live_view copied to clipboard

Fix lv:clear-flash tests on components

Open leandrocp opened this issue 2 years ago • 0 comments

The current Phoenix.LiveViewTest.FlashComponent does not target the lv:clear-flash actions to itself and the test is passing due to a false positive. More info at https://github.com/phoenixframework/phoenix_live_view/issues/1842#issuecomment-1099729676

It does not address the case explained at https://github.com/phoenixframework/phoenix_live_view/issues/1842#issuecomment-1018569574 but AFAIK this test is supposed to be about clearing the flash of the component itself so the changes here are just to fix this specific scenario.

leandrocp avatar Apr 15 '22 00:04 leandrocp