Explorar o código

#338 try to fix flaky test by adding another delay

Falko Schindler %!s(int64=2) %!d(string=hai) anos
pai
achega
74e29413c5
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

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