mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-24 10:13:11 +02:00
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:
1 parent
d3308602ee
commit
8189a0082b
1 file changed
+3
-1
@@ -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");
|
||||
|
||||
|
||||
Reference in new issue
Block a user