Explorar o código

test: now we need to add delay because screen.render_content is much faster

Rodja Trappe %!s(int64=2) %!d(string=hai) anos
pai
achega
9a9281e75c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      tests/test_auto_context.py

+ 1 - 0
tests/test_auto_context.py

@@ -38,6 +38,7 @@ def test_adding_elements_with_async_await(screen: Screen):
         ui.timer(1.1, add_b, once=True)
 
     screen.open('/')
+    screen.wait(1)
     assert '''
 card
   A