You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ac...@apache.org on 2017/08/18 07:11:44 UTC

[2/5] incubator-weex git commit: * [test] better type

* [test] better type


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/1a633037
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/1a633037
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/1a633037

Branch: refs/heads/0.16-dev
Commit: 1a633037b70ecb02b80f232dd31ec391d38b0a28
Parents: f697b28
Author: gurisxie <27...@qq.com>
Authored: Fri Aug 18 10:30:16 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Fri Aug 18 10:30:16 2017 +0800

----------------------------------------------------------------------
 test/scripts/modules/modal-event.test.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/1a633037/test/scripts/modules/modal-event.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/modules/modal-event.test.js b/test/scripts/modules/modal-event.test.js
index 99b81e1..7f3297b 100644
--- a/test/scripts/modules/modal-event.test.js
+++ b/test/scripts/modules/modal-event.test.js
@@ -27,7 +27,7 @@ describe('weex '+goal+' test', function () {
     //TODO :截图比对
     return driver.waitForElementByName('alertClick', timeout, 2000)
       .click()
-      .sleep(1000)
+      .waitForElementByName('OK', timeout, 2000)
       .dismissAlert()
       .waitForElementByName(goal, timeout, 2000)
       .click()