package web_test import ( "strings" "testing" ) // TestLayoutSidebarOnDesktop confirms the Phase 5g sidebar markup is // rendered with all six nav items (Tree / Dashboard / Calendar / // Timeline / Graph / Admin). Per-item href + label asserted so a stray // edit can't silently lose a section. func TestLayoutSidebarOnDesktop(t *testing.T) { srv, pool := mustServer(t) defer pool.Close() h := srv.Routes() _, body := get(t, h, "/views/dashboard") if !strings.Contains(body, `