diff --git a/lib/phoenix_live_view/test/dom.ex b/lib/phoenix_live_view/test/dom.ex index 1d4e43df1..fa594eea8 100644 --- a/lib/phoenix_live_view/test/dom.ex +++ b/lib/phoenix_live_view/test/dom.ex @@ -153,7 +153,7 @@ defmodule Phoenix.LiveViewTest.DOM do static = if static in [nil, ""], do: nil, else: static found = {id, session, static} - if main == "true" do + if main not in [nil, "", "false"] do acc ++ [found] else [found | acc]