Merge pull request #1646 from Textualize/test-pause

Add pause to flaky test.
This commit is contained in:
Rodrigo Girão Serrão
2023-01-23 18:36:08 +00:00
committed by GitHub

View File

@@ -48,6 +48,7 @@ async def test_input_value_visible_if_mounted_later():
app = MyApp()
async with app.run_test() as pilot:
await pilot.press("a")
await pilot.pause()
console = Console(width=5)
with console.capture() as capture:
console.print(app.query_one(Input).render())