瀏覽代碼

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

Rodja Trappe 2 年之前
父節點
當前提交
9a9281e75c
共有 1 個文件被更改,包括 1 次插入0 次删除
  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