* [test] update picker tc
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/dffe8ef5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/dffe8ef5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/dffe8ef5 Branch: refs/heads/0.16-dev Commit: dffe8ef5c256fee824cbbc2794be9efe592e236b Parents: 41147d0 Author: gurisxie <279483...@qq.com> Authored: Thu Sep 7 20:21:52 2017 +0800 Committer: gurisxie <279483...@qq.com> Committed: Thu Sep 7 20:21:52 2017 +0800 ---------------------------------------------------------------------- test/pages/modules/picker-event.vue | 6 +++--- test/scripts/modules/picker-event.test.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/dffe8ef5/test/pages/modules/picker-event.vue ---------------------------------------------------------------------- diff --git a/test/pages/modules/picker-event.vue b/test/pages/modules/picker-event.vue index 9e08ff9..25d1fa2 100644 --- a/test/pages/modules/picker-event.vue +++ b/test/pages/modules/picker-event.vue @@ -37,9 +37,9 @@ methods : { showPicker:function() { var params = { - 'value':'2018-01-01', - 'max':'2020-01-01', - 'min':'2010-01-01', + 'value':'2018-01-31', + 'max':'2020-01-31', + 'min':'2010-01-31', } picker.pickDate(params, (ret) => { if(ret.result == 'success') { http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/dffe8ef5/test/scripts/modules/picker-event.test.js ---------------------------------------------------------------------- diff --git a/test/scripts/modules/picker-event.test.js b/test/scripts/modules/picker-event.test.js index db5a002..1129201 100644 --- a/test/scripts/modules/picker-event.test.js +++ b/test/scripts/modules/picker-event.test.js @@ -32,11 +32,11 @@ describe('weex '+goal+' test', function () { if(util.isIos()){ return self.waitForElementByName('Done', timeout, 2000) .click() - .waitForElementByName('2018-01-01') + .waitForElementByName('2018-01-31') }else{ return self.waitForElementByName('OK', timeout, 2000) .click() - .waitForElementByName('2018-01-1') + .waitForElementByName('2018-01-31') } }) }); \ No newline at end of file