diff --git a/web/layout_test.go b/web/layout_test.go index d1cfe44..b6f6d75 100644 --- a/web/layout_test.go +++ b/web/layout_test.go @@ -185,6 +185,21 @@ func TestLayoutThemeToggleBoundToBothButtons(t *testing.T) { } } +// TestLayoutLoadsHTMX guards against the Phase 7c regression: the task / tree +// / dashboard / bulk / classify forms drive in-place swaps with hx-* attrs, +// which are inert unless htmx is actually loaded. It went unnoticed for many +// phases (every hx-post task form silently no-op'd to a GET-to-self). This +// test fails the moment the vendored htmx