snapre on add_actions
snapre on master
ci: add github actions (#17) *… (compare)
snapre on add_actions
fix: ci failed (compare)
snapre on add_actions
fix: ci failed (compare)
snapre on add_actions
fix: ci failed (compare)
snapre on add_actions
fix: ci failed (compare)
snapre on add_actions
fix: ci failed (compare)
snapre on add_actions
fix: ci failed (compare)
snapre on add_actions
fix: replacing npm install with… (compare)
@xdf
求问几个问题:
1:是不是用例编写中,一个case失败了。整个case集就无法继续跳过失败的case继续执行了。
2:每次都是重新安装对应apk么?还是杀掉数据重新启动来的
3:用例中的 .webview() .native() 作用是什么,有这些方法的时候会使得脚本执行失败。这是封装好了什么方法么。请问如何找到关联的文件。
小白诚心请教。
4: 截图产出在哪,以及报告的位置
5: adb shell ime set android.unicode.ime/.Utf7ImeService 设置完utf-7 字体输入后,手机再次启动键盘需要手动切到别的输入法才能继续正常使用输入法。
6: 接问题3 ,关于进入webview 以及进入native的方面会结果收集log报错如下:
1) macaca test sample #4 should go into webview:
Error: [contexts()] Not JSON response
at exports.newError (node_modules/webdriver-client/node_modules/macaca-wd/wd/lib/utils.js:139:13)
at node_modules/webdriver-client/node_modules/macaca-wd/wd/lib/callbacks.js:59:17
at node_modules/webdriver-client/node_modules/macaca-wd/wd/lib/webdriver.js:179:5
at Request.callback (node_modules/webdriver-client/node_modules/macaca-wd/wd/lib/http-utils.js:87:7)
at Request.self.callback (node_modules/webdriver-client/node_modules/macaca-wd/node_modules/request/request.js:368:22)
at Request.<anonymous> (node_modules/webdriver-client/nodemodules/macaca-wd/node_modules/request/request.js:1219:14)
at IncomingMessage.<anonymous> (node_modules/webdriver-client/node_modules/macaca-wd/node_modules/request/request.js:1167:12)
at endReadableNT (_stream_readable.js:921:12)
希望可以帮忙看下:
reliable/reliable-master 尝试了make build
Hash: 28428221c8a55429afbb
Version: webpack 1.13.1
Time: 4345ms
Asset Size Chunks Chunk Names
auth.js 3.78 kB 0 [emitted] auth
dashboard.js 1.12 MB 1 [emitted] dashboard
history.js 1.11 MB 2 [emitted] history
home.js 1.11 MB 3 [emitted] home
index.js 2.42 kB 4 [emitted] index
login.js 3.36 kB 5 [emitted] login
password.js 4.49 kB 6 [emitted] password
signup.js 3.99 kB 7 [emitted] signup
task.js 4.2 kB 8 [emitted] task
user.js 1.4 kB 9 [emitted] user
现在的代码更新后,已经没有了make deploy evn=prod 类似命令,尝试Makefile 中的其他命令,例如make server 提示:
index.js:11:12 [worker:1] pid:16253 mongo error: connect ECONNREFUSED 127.0.0.1:27017
docker 的环境应该是ok的,
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
hello-world latest 723aa7d39e9d 8 days ago 1.848 kB
mongo latest 282fd552add6 3 weeks ago 336.1 MB
redis latest 4465e4bcad80 3 weeks ago 185.7 MB
mongo 和redis是手动安装的
此外,
./bin/reliable-master adduser
version 1.0.0 is outdate *
run: npm i -g reliable-master@1.0.2 *
Do you want create an account? [Y/N]y
User Id: testdemo
此时就一直hung在这个地方,无反应了
还有:
make build-docker
Sending build context to Docker daemon 4.273 MB
Step 1 : FROM reliable-docker-base
Pulling repository docker.io/library/reliable-docker-base
Error: image library/reliable-docker-base not found
make: * [build-docker] Error 1
var action=wd.TouchAction(driver);
it('#1 test', function() {
return driver
.waitForElementByName('发现')
.click()
.sleep(1000)
.action.press(driver.waitForElementByName('智玩')).perform()
.sleep(5000);
});
root@iZ238z46dwqZ:~/reliable-master# make adduser
./bin/reliable-master adduser
/root/reliable-master/bin/reliable-master:5
const co = require('co');
^^^^^
SyntaxError: Use of const in strict mode.
root@iZ238z46dwqZ:~/reliable-macaca-docker-compose# docker run 2fcf1747638a make adduser master
./bin/reliable-master adduser
*****************************************
* version 1.0.0 is outdate *
* run: npm i -g reliable-master@1.0.2 *
*****************************************
Do you want create an account? [Y/N]events.js:154
throw er; // Unhandled 'error' event
^
Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
at Object.exports._errnoException (util.js:893:11)
at exports._exceptionWithHostPort (util.js:916:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1075:14)
make: *** No rule to make target `master'. Stop.