From fd93020f390d3fa30d6d5baaf3439be4e5474aa9 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Sat, 18 Jul 2026 20:57:39 +0200 Subject: [PATCH] test(nav): pin the v0.146.0 accordion's server-side half MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The collapsible sidebar is a progressive enhancement: the server marks the group owning the active page with .is-open, so the correct group is open before any JS runs and stays open if JS never runs. That server-side half is what these tests pin — the part a browser screenshot confirms only for whichever page happened to be open when the screenshot was taken. Four properties, rendered through the real shared layout rather than a hand-built fragment: - every sub-page opens its own group, with aria-expanded=true and an .active toggle, and EXACTLY ONE group open (the count is asserted, not just the group we expected); - a page outside any group (dashboard) opens nothing; - each group's landing page still exists as a sub-link — the property that made converting the headers from to