소스 검색

try to fix pytest for ui.scene

Falko Schindler 1 년 전
부모
커밋
3533e991ed
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tests/test_scene.py

+ 1 - 0
tests/test_scene.py

@@ -152,4 +152,5 @@ def test_gltf(screen: Screen):
         scene.gltf('https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Assets/main/Models/Box/glTF-Binary/Box.glb')
 
     screen.open('/')
+    screen.wait(1.0)
     assert screen.selenium.execute_script(f'return scene_c{scene.id}.children.length') == 5