We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4c32a3 commit 167af7eCopy full SHA for 167af7e
tests/test_modal.py
@@ -92,8 +92,7 @@ async def test_modal_pop_screen():
92
await pilot.pause()
93
await app.wait_for_refresh()
94
# Check clicking the footer brings up the quit screen
95
- await pilot.click(Footer, offset=(1, 0))
96
- await pilot.pause(1 / 10)
+ assert await pilot.click(offset=(1, app.size.height - 1))
97
98
assert isinstance(pilot.app.screen, QuitScreen)
99
# Check activating the quit button exits the app
0 commit comments