try simplify

This commit is contained in:
Will McGugan
2025-09-29 16:24:28 +01:00
parent a883d39d16
commit fd7cb8a592

View File

@@ -90,8 +90,7 @@ async def test_modal_pop_screen():
async with app.run_test() as pilot: async with app.run_test() as pilot:
# Pause to ensure the footer is fully composed to avoid flakiness in CI # Pause to ensure the footer is fully composed to avoid flakiness in CI
await pilot.pause() await pilot.pause()
assert await app.wait_for_refresh() await pilot.pause() # Required in Windows
await pilot.pause()
assert await pilot.click("FooterKey") assert await pilot.click("FooterKey")
assert await app.wait_for_refresh() assert await app.wait_for_refresh()
assert isinstance(app.screen, QuitScreen) assert isinstance(app.screen, QuitScreen)