1
0
Эх сурвалжийг харах

#338 try to fix flaky test by adding another delay

Falko Schindler 2 жил өмнө
parent
commit
74e29413c5

+ 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')