瀏覽代碼

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) {