feat(member): keep text selection in the overview table from opening the member

This commit is contained in:
Moritz 2026-06-08 12:43:40 +02:00
parent be57dcfce8
commit 24f67bea80
3 changed files with 36 additions and 0 deletions

View file

@ -111,6 +111,17 @@ defmodule MvWeb.MemberLive.IndexTest do
end
end
describe "drag-select vs click guard (§3.3)" do
@describetag :ui
test "members table carries the row-selection guard hook", %{conn: conn} do
conn = conn_with_oidc_user(conn)
{:ok, view, _html} = live(conn, ~p"/members")
assert has_element?(view, "[phx-hook=RowSelectionGuard][id=members-table-guard]")
end
end
describe "translations" do
@describetag :ui