From ff7f17644475567fc748404e10e2e04f7f9ecc0d Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Thu, 26 Jan 2023 16:24:35 +0100 Subject: [PATCH] add wait for idle --- src/textual/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/textual/app.py b/src/textual/app.py index a1bbe061a..7ad46efb5 100644 --- a/src/textual/app.py +++ b/src/textual/app.py @@ -826,6 +826,7 @@ class App(Generic[ReturnType], DOMNode): await wait_for_idle(0) await app._animator.wait_for_idle() + await wait_for_idle(0) @asynccontextmanager async def run_test(