budtmo/docker-android

[Web test] Error in Appium server: 'app' option is required for reinstall

Open

#136 建立於 2019年1月9日

在 GitHub 查看
 (9 留言) (0 反應) (0 負責人)Python (6,668 star) (1,044 fork)batch import
bughelp wanted

描述

Operating System Ubuntu 18.04.1 LTS

Docker Image butomo1989/docker-android-x86-8.1:1.6-p0

Docker Version
Docker version 17.05.0-ce, build 89658be

Docker Command to start docker-android

docker run --rm --privileged -p 6080:6080 -p 4723:4723 -e DEVICE="Samsung Galaxy S6" -e AUTO_RECORD=true -e APPIUM=true -v $PWD:/tmp/video butomo1989/docker-android-x86-8.1:1.6-p0

Expected Behavior

I want to run the following test with Appium using the URL: http://localhost:4723/wd/hub

Actual Behavior

The request reaches the Appium server in the container, but an internal error happens:

An unknown server-side error occurred while processing the command. Original error: 'app' option is required for reinstall
    at getResponseForW3CError (/usr/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:826:9)
    at asyncHandler (/usr/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:447:37)

The error can be seen in the Appium server console through noVNC:

screenshot from 2019-01-09 14-09-44

貢獻者指南