【发布时间】:2016-05-19 07:39:54
【问题描述】:
我正在 CirecleCi 上运行 Calabash-android 测试。在运行测试时,我得到了错误响应
It looks like your app is no longer running.
It could be because of a crash or because your test script shuts it down.
Scenario: Home page and navigate to the registration page
# features/my_first.feature:3
More than one device connected. Specify device serial using ADB_DEVICE_ARG (RuntimeError)
./features/support/app_installation_hooks.rb:18:in `Before'
App did not start (RuntimeError)
./features/support/app_life_cycle_hooks.rb:5:in `Before'
我使用命令在 adb 上安装 apk
- adb -s emulator-5554 install "
pwd/Test.apk"
但即使在那之后得到上述错误。由于它是自动化的,我不能使用 calabash-android 控制台 命令。有没有办法解决这个问题。感谢您提供各种帮助。
【问题讨论】:
-
是否连接了超过 1 个设备?如果有,有必要吗?只是为了确定断开模拟器或设备是否会为您解决这个问题......
-
没有。只有一台设备。
标签: android automated-tests calabash circleci calabash-android