فهرست منبع

#338 try to fix flaky test by adding another delay

Falko Schindler 2 سال پیش
والد
کامیت
74e29413c5
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      tests/test_auto_context.py

+ 1 - 0
tests/test_auto_context.py

@@ -119,6 +119,7 @@ def test_adding_elements_from_different_tasks(screen: Screen):
             await asyncio.sleep(1.0)
 
     screen.open('/')
+    screen.wait(0.5)
     background_tasks.create(add_label1())
     background_tasks.create(add_label2())
     screen.should_contain('1')