change click

This commit is contained in:
Will McGugan
2025-09-28 21:32:17 +01:00
parent f4c32a3ac4
commit 167af7e15d

View File

@@ -92,8 +92,7 @@ async def test_modal_pop_screen():
await pilot.pause()
await app.wait_for_refresh()
# Check clicking the footer brings up the quit screen
await pilot.click(Footer, offset=(1, 0))
await pilot.pause(1 / 10)
assert await pilot.click(offset=(1, app.size.height - 1))
await app.wait_for_refresh()
assert isinstance(pilot.app.screen, QuitScreen)
# Check activating the quit button exits the app