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/10 05:59:03 UTC

[06/14] incubator-weex git commit: * [test] modal

* [test] modal


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

Branch: refs/heads/0.16-dev
Commit: 9027ab0f9b1c90d3aa835ae06a626df10034b28e
Parents: 7767820
Author: gurisxie <27...@qq.com>
Authored: Wed Aug 9 18:29:08 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Wed Aug 9 18:29:08 2017 +0800

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


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/9027ab0f/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 58f2499..fc79d01 100644
--- a/test/scripts/modules/modal-event.test.js
+++ b/test/scripts/modules/modal-event.test.js
@@ -27,6 +27,8 @@ describe('weex '+goal+' test', function () {
     //TODO :截图比对
     return driver.waitForElementByName('alertClick', timeout, 2000)
       .click()
+      .waitForElementByName(goal, timeout, 2000)
+      .click()
       .waitForElementByName('alert success', timeout, 2000) 
   })
 });
\ No newline at end of file