Skip to content

Commit 472eef0

Browse files
committed
comments
1 parent 6002960 commit 472eef0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/snapshot_tests/test_snapshots.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2271,7 +2271,7 @@ def render(self) -> LinearGradient:
22712271
def test_maximize_allow(snap_compare):
22722272
"""Check that App.ALLOW_IN_MAXIMIZED_VIEW is the default.
22732273
2274-
If working this should show a header, some text, and a focused button.
2274+
If working this should show a header, some text, a focused button, and more text.
22752275
22762276
"""
22772277

@@ -2282,13 +2282,13 @@ class MaximizeApp(App):
22822282
def compose(self) -> ComposeResult:
22832283
yield Label(
22842284
"Above", classes="-textual-system"
2285-
) # Allowed because it has class -textual-system
2286-
yield Header() # Visible because it matches ALLOW_IN_MAXIMIZED_VIEW
2287-
yield Button("Hello") # Visible because it is the maximized widget
2285+
) # Allowed in maximize view because it has class -textual-system
2286+
yield Header() # Allowed because it matches ALLOW_IN_MAXIMIZED_VIEW
2287+
yield Button("Hello") # Allowed because it is the maximized widget
22882288
yield Label(
22892289
"Below", classes="-textual-system"
22902290
) # Allowed because it has class -textual-system
2291-
yield Button("World") # Not visible
2292-
yield Footer() # Not visible
2291+
yield Button("World") # Not allowed
2292+
yield Footer() # Not allowed
22932293

22942294
assert snap_compare(MaximizeApp(), press=["m"])

0 commit comments

Comments
 (0)