Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 15 04:01

    xudafeng on master

    chore: update deps (compare)

  • May 08 15:20
    snapre edited #18
  • May 08 15:20
    snapre assigned #18
  • May 08 15:20
    snapre opened #18
  • May 08 15:03

    snapre on add_actions

    (compare)

  • May 08 15:03

    snapre on master

    ci: add github actions (#17) *… (compare)

  • May 08 15:03
    snapre closed #17
  • May 08 15:01
    snapre synchronize #17
  • May 08 15:01

    snapre on add_actions

    fix: ci failed (compare)

  • May 08 14:52
    snapre synchronize #17
  • May 08 14:52

    snapre on add_actions

    fix: ci failed (compare)

  • May 08 14:49
    snapre synchronize #17
  • May 08 14:49

    snapre on add_actions

    fix: ci failed (compare)

  • May 08 14:45
    snapre synchronize #17
  • May 08 14:45

    snapre on add_actions

    fix: ci failed (compare)

  • May 08 14:38
    snapre synchronize #17
  • May 08 14:38

    snapre on add_actions

    fix: ci failed (compare)

  • May 08 14:33
    snapre synchronize #17
  • May 08 14:33

    snapre on add_actions

    fix: ci failed (compare)

  • May 08 13:56
    snapre synchronize #17
Tony
@0805
@xudafeng
xdf
@xudafeng
驱动装好了吗
Tony
@0805
驱动 我之前就装过
但是有一堆错误 你稍等我在装一次 截图给你
Tony
@0805
blob
@xudafeng
xdf
@xudafeng
@0805 chrome没下载成功吧
Tony
@0805
blob
报错了这个错误
你们的java 是用的1.8的么?
@xudafeng
是我在安装andriod驱动时候报的错
Tony
@0805
话说这个可以支持app里面的H5么?
seven
@qileilove
可以
他有个demo就是专门做hybird的测试
Tony
@0805
求个链接。
在testhome里面么
blob
Tony
@0805
大神能帮帮看看怎么回事么
seven
@qileilove
@xudafeng reliable跑的时候,报错 Error: spawn /usr/local/lib/node_modules/reliable-slave/node_modules/macaca-cli/node_modules/.bin/mocha ENOENT
Tony
@0805
@xudafeng 一定要传一个zip么?
不能传一个apk哇
xdf
@xudafeng
@0805 可以直接用apk的
lemonadam
@lemonadam

@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)

lemonadam
@lemonadam
@xudafeng 还有个问题,就是 ios的脚本在执行百度那个页面的时候,去点击搜索框。却无法定位到对应搜索框的元素。我用浏览器定位了一下元素id 没有问题。报错信息:Error response status: 7, , NoSuchElement - An element could not be located on the page using the given search parameters.
但是前面的那个webview 页面关于.elementById('pushView') 却是没有问题的。
oatsuper
@oatsuper

希望可以帮忙看下:
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

  • 191 hidden modules
    上述是否代表成功呢?

现在的代码更新后,已经没有了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

xdf
@xudafeng
fengmk2
@fengmk2
这个做用户群非常不错
bingzheyuan
@bingzheyuan
更新macaca@1.1.0后找不到driver #45
xdf
@xudafeng
@all 请更新客户端工具
louzhumuyou
@diaojunxian
@xudafeng 我是昨晚qq咨询你的,就是想请问你 ```
shengxiang
@codeskyblue
Hello, @diaojunxian see you again.
louzhumuyou
@diaojunxian
(⊙o⊙)…
大神你也在
shengxiang
@codeskyblue
所有相关项目当然都有参与点了
都要
louzhumuyou
@diaojunxian
哈哈 真厉害。。。。。。
louzhumuyou
@diaojunxian
怎么使用 macaca里面的perform,press 方法?
@xudafeng
  var action=wd.TouchAction(driver);
  it('#1 test', function() { 
    return driver
        .waitForElementByName('发现')
        .click()
        .sleep(1000)
        .action.press(driver.waitForElementByName('智玩')).perform()

        .sleep(5000);

  });
这样好像不对
@xudafeng
louzhumuyou
@diaojunxian
哪位能指导一下 求指导啊
louzhumuyou
@diaojunxian
请教一个问题 appium里有类似于touch action的perform,可是WDA里面没有这样的api该如何在wda里面实现呢?还有一个问题就是,如果/inspector识别的控件,元素属性'isVisble = NO',该如何识别呢?
shengxiang
@codeskyblue
搞不好是最新的wda把isVisiable=No的给过滤掉了,所以你找不到
louzhumuyou
@diaojunxian
。。。。。。。
应该有办法的吧
shengxiang
@codeskyblue
我猜的
hobo214
@hobo214

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.