You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ji...@apache.org on 2017/02/24 16:42:42 UTC
[03/50] incubator-weex git commit: * [test] wait for last elem
* [test] wait for last elem
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/beb7a79d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/beb7a79d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/beb7a79d
Branch: refs/heads/dev
Commit: beb7a79d9131bc0c1e3767a46a7a593ba1d403e7
Parents: 6b71f2e
Author: sospartan <so...@gmail.com>
Authored: Mon Feb 20 14:33:27 2017 +0800
Committer: sospartan <so...@gmail.com>
Committed: Mon Feb 20 14:33:27 2017 +0800
----------------------------------------------------------------------
test/scripts/dom.test.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/beb7a79d/test/scripts/dom.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/dom.test.js b/test/scripts/dom.test.js
index db89249..02cb291 100644
--- a/test/scripts/dom.test.js
+++ b/test/scripts/dom.test.js
@@ -18,7 +18,7 @@ describe('weex mobile index', function () {
return driver
.initDriver()
.get('wxpage://' + util.getDeviceHost() +'/dom-operation.js')
- .waitForElementByXPath('//div/div[1]',util.getGETActionWaitTimeMills(),100);
+ .waitForElementByXPath('//div/text[2]',util.getGETActionWaitTimeMills(),100);
});
after(function () {