Skip to content

Commit 167af7e

Browse files
committed
change click
1 parent f4c32a3 commit 167af7e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_modal.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ async def test_modal_pop_screen():
9292
await pilot.pause()
9393
await app.wait_for_refresh()
9494
# Check clicking the footer brings up the quit screen
95-
await pilot.click(Footer, offset=(1, 0))
96-
await pilot.pause(1 / 10)
95+
assert await pilot.click(offset=(1, app.size.height - 1))
9796
await app.wait_for_refresh()
9897
assert isinstance(pilot.app.screen, QuitScreen)
9998
# Check activating the quit button exits the app

0 commit comments

Comments
 (0)