diff --git a/lib/plausible_web/live/components/combo_box.ex b/lib/plausible_web/live/components/combo_box.ex index 4af94347f..b0f12449c 100644 --- a/lib/plausible_web/live/components/combo_box.ex +++ b/lib/plausible_web/live/components/combo_box.ex @@ -243,7 +243,7 @@ defmodule PlausibleWeb.Live.Components.ComboBox do > type_into_combo("test-creatable-component", "my new option") + |> find("input[type=hidden][name=some_submit_name][value=\"my new option\"]") + + assert Floki.attribute(creatable_option, "x-on:click") == [] + end end describe "async suggestions" do