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 <noreply@anthropic.com>
This commit is contained in:
scotttong 2026-07-06 22:39:13 -07:00
parent d3308602ee
commit 8189a0082b
1 changed files with 3 additions and 1 deletions

View File

@ -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");