From 8189a0082be2ea7b95404994340143bccb9b9659 Mon Sep 17 00:00:00 2001 From: scotttong Date: Mon, 6 Jul 2026 22:39:13 -0700 Subject: [PATCH] test: update Secrets grid assertion to tokenized grid-cols form Batch 4 extracted the raw minmax template into --gtc-54; the render test still asserted the literal. Lockstep per the token-extraction test policy. Co-Authored-By: Claude Fable 5 --- ui/src/pages/Secrets.render.test.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/src/pages/Secrets.render.test.tsx b/ui/src/pages/Secrets.render.test.tsx index fedc48e4da..b21c96d7bb 100644 --- a/ui/src/pages/Secrets.render.test.tsx +++ b/ui/src/pages/Secrets.render.test.tsx @@ -625,7 +625,9 @@ describe("Secrets page layout", () => { expect(listContainer?.className).toContain("@container"); expect(tableView?.className).toContain("@min-[40rem]:block"); expect(tableView?.className).not.toContain("md:block"); - expect(tableView?.querySelector("[role='row']")?.className).toContain("minmax(12rem,2.4fr)"); + // Grid template lives in the token layer: --gtc-54 in ui/src/index.css + // carries the original minmax(12rem,2.4fr)... template verbatim. + expect(tableView?.querySelector("[role='row']")?.className).toContain("grid-cols-(--gtc-54)"); expect(cardView?.className).toContain("@min-[40rem]:hidden"); expect(cardView?.className).not.toContain("md:hidden");