Skip to content

Commit 0d8c6c6

Browse files
sp00ktoberclaude
andcommitted
test(studio): the header's buttons keep their size while not watching
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 20d5343 commit 0d8c6c6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/studio/tests/monster/ui/test_marks.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def test_nothing_is_marked_until_the_toggle_is_on(panel: BehaviourPanel, game: F
120120
assert not panel.ticker.isActive()
121121
assert all("×" not in t for t in titles(panel))
122122
assert panel.outline.width() == triggers.WIDTH and game.calls == []
123+
assert panel.fit.width() <= panel.fit.sizeHint().width() + 4, "the buttons keep their size"
123124
assert panel.watch.toolTip() and kit.missing_tips(panel) == []
124125

125126

0 commit comments

Comments
 (0)