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/24 14:17:42 UTC

[3/7] incubator-weex git commit: * [test] a-src

* [test] a-src


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

Branch: refs/heads/0.16-dev
Commit: a88a00b9aefe0ec021ca9b47157389d9a07a1b92
Parents: 64346c3
Author: gurisxie <27...@qq.com>
Authored: Thu Aug 24 19:47:29 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Thu Aug 24 19:47:29 2017 +0800

----------------------------------------------------------------------
 test/scripts/components/a-src.test.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a88a00b9/test/scripts/components/a-src.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/components/a-src.test.js b/test/scripts/components/a-src.test.js
index d86012e..bbc8b99 100644
--- a/test/scripts/components/a-src.test.js
+++ b/test/scripts/components/a-src.test.js
@@ -27,7 +27,7 @@ describe('a-src-test', function () {
   function click_a_tag(title, id) {
     it(title, () => {
       return driver
-        .elementById(id)
+        .waitForElementById(id, maxWt, 2000)
         .click()
         .waitForElementByName('a-support-href1', maxWt, 2000)
         .waitForElementByName('jump_back', maxWt, 2000)
@@ -40,7 +40,7 @@ describe('a-src-test', function () {
       .waitForElementByName('changeSrc', maxWt, 2000)
       .click()
       .sleep(500)
-      .elementById('a-itself')
+      .waitForElementById('a-itself', maxWt, 2000)
       .click()
       .waitForElementByName('a-support-href2', maxWt, 2000)
       .waitForElementByName('jump_back', maxWt, 2000)