test(layout): match resize minima constants exactly (#5545)
This commit is contained in:
parent
33d9b9f2a7
commit
f34fd8ed42
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue