You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by cx...@apache.org on 2017/08/25 12:13:43 UTC
[4/5] incubator-weex git commit: * [test] delete unstable tc
* [test] delete unstable 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/4a8f641e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/4a8f641e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/4a8f641e
Branch: refs/heads/0.16-dev
Commit: 4a8f641e4f77447de74931833d8978bdd535bad1
Parents: 0c4db4f
Author: gurisxie <27...@qq.com>
Authored: Fri Aug 25 18:32:46 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Fri Aug 25 18:32:46 2017 +0800
----------------------------------------------------------------------
test/scripts/index.test.js | 65 -----------------------------------------
1 file changed, 65 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/4a8f641e/test/scripts/index.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/index.test.js b/test/scripts/index.test.js
deleted file mode 100644
index bf64d7c..0000000
--- a/test/scripts/index.test.js
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-'use strict';
-
-var _ = require('macaca-utils');
-var assert = require('chai').assert
-var wd = require('weex-wd')
-var path = require('path');
-var os = require('os');
-var util = require("./util.js");
-
-describe('weex mobile index', function () {
- this.timeout(util.getTimeoutMills());
- var driver = util.createDriver(wd);
-
- beforeEach(function () {
- return util.init(driver)
- .get(util.getPage('/index.js'))
- .waitForElementByName('hello world.',util.getGETActionWaitTimeMills(),1000)
- });
-
- afterEach(function () {
- return util.quit(driver);
- })
-
- it('#1 Click Button', () => {
- return driver
- .waitForElementById('button',util.getGETActionWaitTimeMills(),1000)
- .click()
- .waitForElementById('status',util.getGETActionWaitTimeMills(),1000)
- .text()
- .then((text)=>{
- assert.equal(text,'btn click.')
- })
- })
-
- it('#2 Input Blur', () => {
- return driver
- .waitForElementById('input',util.getGETActionWaitTimeMills(),1000)
- .click()
- .waitForElementById('button2',util.getGETActionWaitTimeMills(),1000)
- .click()
- .waitForElementById('status',util.getGETActionWaitTimeMills(),1000)
- .text()
- .then((text)=>{
- assert.equal(text,'input blur.')
- })
- })
-});