mirror of
https://github.com/nesquena/hermes-webui.git
synced 2026-05-30 21:50:16 +00:00
fix workspace panel header test syntax
This commit is contained in:
@@ -107,7 +107,6 @@ class TestWorkspacePanelCollapsePriority:
|
||||
|
||||
def test_workspace_label_shrinks_with_ellipsis(self):
|
||||
"""The "Workspace" label must shrink with ellipsis truncation."""
|
||||
shrink with ellipsis truncation rather than overflow uncontrollably."""
|
||||
# Find the rule
|
||||
sel = ".workspace-panel-title-group > span:first-child"
|
||||
idx = STYLE_CSS.find(sel)
|
||||
@@ -115,7 +114,6 @@ class TestWorkspacePanelCollapsePriority:
|
||||
rule = STYLE_CSS[idx: STYLE_CSS.find("}", idx)]
|
||||
assert "text-overflow:ellipsis" in rule
|
||||
assert "min-width:0" in rule
|
||||
assert "min-width:0" in rule
|
||||
|
||||
def test_git_badge_uses_second_row(self):
|
||||
"""`.git-badge` should sit beneath the title/action row."""
|
||||
|
||||
Reference in New Issue
Block a user