소스 검색

Further wait.

Bentley James Oakes 7 년 전
부모
커밋
78d334b7fe
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      tests/test_utils.js

+ 3 - 3
tests/test_utils.js

@@ -18,17 +18,17 @@ function load_model(client, fnames) {
 
     client.waitForElementPresent(model_building_utils.canvas, 2000, "Canvas loaded");
 
+    client.pause(500);
+    
     for (const name of fnames) {
 
-        client.pause(300);
-
         client.execute(
             function (fname) {
                 _loadModel(fname);
             }, [name], null
         );
 
-        client.pause(500);
+        client.pause(1000);
 
         client.element('css selector', '#dialog_btn', function (result) {
             if (result.status != -1) {