소스 검색

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