fix: update clubname on save
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
carla 2025-12-15 08:50:42 +01:00 committed by moritz
parent e0712d47bc
commit dd4048669c
5 changed files with 28 additions and 11 deletions

View file

@ -99,8 +99,15 @@ defmodule MvWeb.MemberLive.IndexCustomFieldsAccessibilityTest do
# Check that the sort button is a button element (keyboard accessible)
assert html =~ ~r/<button[^>]*data-testid=["']custom_field_#{field.id}["']/
# Extract the button element for the custom field and check it doesn't have tabindex="-1"
button_match =
Regex.run(~r/<button[^>]*data-testid=["']custom_field_#{field.id}["'][^>]*>/, html)
assert button_match != nil, "Button with data-testid='custom_field_#{field.id}' not found"
button_html = List.first(button_match)
# Button should not have tabindex="-1" (which would remove from tab order)
refute html =~ ~r/tabindex=["']-1["']/
refute button_html =~ ~r/tabindex=["']-1["']/
end
test "custom field column header has proper semantic structure", %{conn: conn, field: field} do