Merge remote-tracking branch 'origin/main' into feature/308-web-form
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/promote/production Build is failing

This commit is contained in:
Simon 2026-03-12 13:52:33 +01:00
commit 4af80a8305
Signed by: simon
GPG key ID: 40E7A58C4AA1EDB2
16 changed files with 9624 additions and 9715 deletions

View file

@ -78,7 +78,7 @@ defmodule MvWeb.Components.MemberFilterComponentTest do
html = render(view)
# Should have both "Payments" and "Custom Fields" group labels
assert html =~ gettext("Payments") || html =~ "Payment"
assert html =~ gettext("Custom Fields")
assert html =~ gettext("Individual datafields")
end
test "renders only payment filter when no boolean custom fields exist", %{conn: conn} do

View file

@ -77,7 +77,7 @@ defmodule MvWeb.CustomFieldLive.DeletionTest do
# Edit mode: section titles must not reappear when modal opens (regression)
refute has_element?(view, "h2", "Member fields")
refute has_element?(view, "h2", "Custom fields")
refute has_element?(view, "h2", "Individual datafields")
# Should show correct member count (1 member)
assert render(view) =~ "1 member has a value assigned for this datafield"

View file

@ -238,7 +238,6 @@ defmodule MvWeb.ImportLiveTest do
assert has_element?(view, "[data-testid='import-page']")
assert has_element?(view, "[data-testid='csv-upload-form']")
assert has_element?(view, "[data-testid='start-import-button']")
assert has_element?(view, "[data-testid='custom-fields-link']")
end
test "template links and file input are present", %{conn: conn} do

View file

@ -52,7 +52,7 @@ defmodule MvWeb.MemberLive.ShowTest do
{:ok, _view, html} = live(conn, ~p"/members/#{member}")
# Custom Fields section should be visible
assert html =~ gettext("Custom Fields")
assert html =~ gettext("Individual datafields")
# Custom field label should be visible
assert html =~ custom_field.name
@ -97,7 +97,7 @@ defmodule MvWeb.MemberLive.ShowTest do
{:ok, _view, html} = live(conn, ~p"/members/#{member}")
# Custom Fields section should be visible
assert html =~ gettext("Custom Fields")
assert html =~ gettext("Individual datafields")
# Both field labels should be visible
assert html =~ field1.name