fix workspace panel header test syntax
This commit is contained in:
parent
0e9017a665
commit
acce80a50a
1 changed files with 0 additions and 2 deletions
|
|
@ -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."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue