Skip to content

Commit 1118284

Browse files
committed
try wait for refresh
1 parent 374d296 commit 1118284

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_modal.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ async def test_modal_pop_screen():
9494
# Check clicking the footer brings up the quit screen
9595
await pilot.click(Footer, offset=(1, 0))
9696
await pilot.pause()
97+
await app.wait_for_refresh()
9798
assert isinstance(pilot.app.screen, QuitScreen)
9899
# Check activating the quit button exits the app
99100
await pilot.press("enter")

0 commit comments

Comments
 (0)