Skip to content

Commit

Permalink
Fix regression test for #3053.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigogiraoserrao committed Aug 8, 2023
1 parent 5906686 commit 29d6b2c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_focus.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,10 @@ async def test_focus_moves_to_visible_widgets_inside_invisible_containers():
"""Regression test for https://github.com/Textualize/textual/issues/3053."""

class MyApp(App):
CSS = "#inv { visibility: hidden; }"
CSS = """
#inv { visibility: hidden; }
#three { visibility: visible; }
"""

def compose(self):
yield Button(id="one")
Expand Down

0 comments on commit 29d6b2c

Please sign in to comment.