mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
try simplify
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user