From f34fd8ed42ebafdc4c0b0c1db75dba714d7c1723 Mon Sep 17 00:00:00 2001 From: Rod Boev Date: Sat, 4 Jul 2026 20:01:25 -0400 Subject: [PATCH] test(layout): match resize minima constants exactly (#5545) --- tests/test_issue5545_three_panel_layout.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_issue5545_three_panel_layout.py b/tests/test_issue5545_three_panel_layout.py index f63a66ec2..cd7fd2557 100644 --- a/tests/test_issue5545_three_panel_layout.py +++ b/tests/test_issue5545_three_panel_layout.py @@ -84,8 +84,8 @@ def test_desktop_side_rails_can_shrink_to_resize_minima(): _rule_body(desktop, ".layout.workspace-panel-collapsed .rightpanel") ) - assert "SIDEBAR_MIN=180" in BOOT_JS - assert "PANEL_MIN=180" in BOOT_JS + assert re.search(r"\bSIDEBAR_MIN\s*=\s*180\b", BOOT_JS) + assert re.search(r"\bPANEL_MIN\s*=\s*180\b", BOOT_JS) assert sidebar.get("flex-shrink") == "1" assert sidebar.get("min-width") == "180px" assert rightpanel.get("flex-shrink") == "1"