Index: ssts-web/src/test/java/test/forgon/disinfectsystem/selenium/One_use.java =================================================================== diff -u -r19050 -r19409 --- ssts-web/src/test/java/test/forgon/disinfectsystem/selenium/One_use.java (.../One_use.java) (revision 19050) +++ ssts-web/src/test/java/test/forgon/disinfectsystem/selenium/One_use.java (.../One_use.java) (revision 19409) @@ -93,7 +93,7 @@ supplier.sendKeys("\n"); } Utils.retryingFindAndClick(By.xpath("//button[contains(text(), '添加')]")); - Utils.doWait(1500); +// Utils.doWait(1500); } name = Utils.settings.getJSONObject("一级供应室一次性物品1").getString( "名称"); @@ -126,7 +126,7 @@ supplier.sendKeys("\n"); } Utils.retryingFindAndClick(By.xpath("//button[contains(text(), '添加')]")); - Utils.doWait(1500); +// Utils.doWait(1500); } Utils.retryingFindAndClick( By.xpath("//button[contains(text(), '保存并打印新标签')]")); @@ -139,14 +139,14 @@ JSWaiter.waitUntilJQueryReady(); // TODO:以下的等待1秒,要评估是否可以去掉 - Utils.doWait(1000); +// Utils.doWait(1000); //等待表单提交成功 wait.until(ExpectedConditions.attributeToBe(Utils.fluentWaitUntilFind(By .id("formSubmitResult")), "value", "1")); //获取一次性物品入库后的条码 Utils.disposableGoodsBatchBarcodesAfterEntry = Utils.getDisposableGoodsBatchBarcodesAfterEntry(); - Utils.doWait(500); +// Utils.doWait(500); System.out.println("本次一次性物品入库后的条码:" + Utils.disposableGoodsBatchBarcodesAfterEntry); } catch (Exception e) { e.printStackTrace();