浏览代码

Increased UI test timeouts

n1474335 6 年之前
父节点
当前提交
71e0a4e0ce
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      tests/browser/nightwatch.js

+ 3 - 3
tests/browser/nightwatch.js

@@ -69,7 +69,7 @@ module.exports = {
             .useXpath()
             .useXpath()
             .moveToElement(toHex, 10, 10)
             .moveToElement(toHex, 10, 10)
             .useCss()
             .useCss()
-            .waitForElementVisible(".popover-body", 500)
+            .waitForElementVisible(".popover-body", 1000)
             .doubleClick();
             .doubleClick();
 
 
         // Confirm that it has been added to the recipe
         // Confirm that it has been added to the recipe
@@ -87,14 +87,14 @@ module.exports = {
         // Check output
         // Check output
         browser
         browser
             .useCss()
             .useCss()
-            .waitForElementNotVisible("#stale-indicator", 100)
+            .waitForElementNotVisible("#stale-indicator", 500)
             .expect.element("#output-text").to.have.value.that.equals("44 6f 6e 27 74 20 50 61 6e 69 63 2e");
             .expect.element("#output-text").to.have.value.that.equals("44 6f 6e 27 74 20 50 61 6e 69 63 2e");
 
 
         // Clear recipe
         // Clear recipe
         browser
         browser
             .useCss()
             .useCss()
             .moveToElement(op, 10, 10)
             .moveToElement(op, 10, 10)
-            .waitForElementNotPresent(".popover-body", 500)
+            .waitForElementNotPresent(".popover-body", 1000)
             .click("#clr-recipe")
             .click("#clr-recipe")
             .waitForElementNotPresent(op);
             .waitForElementNotPresent(op);
     },
     },