mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Merge pull request #1646 from Textualize/test-pause
Add pause to flaky test.
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user