feat(member): keep text selection in the overview table from opening the member
This commit is contained in:
parent
be57dcfce8
commit
24f67bea80
3 changed files with 36 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue