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:43:06 UTC

[27/50] incubator-weex git commit: * [test] change wait for check interval

* [test] change wait for check interval


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

Branch: refs/heads/dev
Commit: d7e9e4bffda45fa8b58af863324a90b2ac8a3023
Parents: 15a62c9
Author: sospartan <so...@gmail.com>
Authored: Tue Feb 21 16:09:04 2017 +0800
Committer: sospartan <so...@gmail.com>
Committed: Tue Feb 21 16:09:04 2017 +0800

----------------------------------------------------------------------
 test/scripts/components/scroll-event.test.js | 4 ++--
 test/scripts/dom.test.js                     | 2 +-
 test/scripts/index.test.js                   | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d7e9e4bf/test/scripts/components/scroll-event.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/components/scroll-event.test.js b/test/scripts/components/scroll-event.test.js
index 05dc159..2ddb5db 100644
--- a/test/scripts/components/scroll-event.test.js
+++ b/test/scripts/components/scroll-event.test.js
@@ -18,7 +18,7 @@ describe('list scroll event', function () {
     return driver
       .initDriver()
       .get('wxpage://' + util.getDeviceHost() +'/list-scroll.js')
-      .waitForElementByXPath('//div/text[1]',util.getGETActionWaitTimeMills(),100)
+      .waitForElementByXPath('//div/text[1]',util.getGETActionWaitTimeMills(),1000)
   });
 
   after(function () {
@@ -66,7 +66,7 @@ describe('scroller scroll event', function () {
     return driver
       .initDriver()
       .get('wxpage://' + util.getDeviceHost() +'/scroller-scroll.js')
-      .waitForElementByXPath('//div/text[1]',util.getGETActionWaitTimeMills(),100)
+      .waitForElementByXPath('//div/text[1]',util.getGETActionWaitTimeMills(),1000)
   });
 
   after(function () {

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d7e9e4bf/test/scripts/dom.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/dom.test.js b/test/scripts/dom.test.js
index 02cb291..c275dd2 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/text[2]',util.getGETActionWaitTimeMills(),100);
+      .waitForElementByXPath('//div/text[2]',util.getGETActionWaitTimeMills(),1000);
   });
 
   after(function () {

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d7e9e4bf/test/scripts/index.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/index.test.js b/test/scripts/index.test.js
index c6d918d..7e62f28 100644
--- a/test/scripts/index.test.js
+++ b/test/scripts/index.test.js
@@ -18,7 +18,7 @@ describe('weex mobile index', function () {
     return driver
       .initDriver()
       .get('wxpage://' + util.getDeviceHost() +'/index.js')
-      .waitForElementByXPath('//div/text[1]',util.getGETActionWaitTimeMills(),100);
+      .waitForElementByXPath('//div/text[1]',util.getGETActionWaitTimeMills(),1000);
   });
 
   after(function () {