budtmo/docker-android

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

Aperta

#136 aperta il 9 gen 2019

 (9 commenti) (0 reazioni) (0 assegnatari)Python (1745 fork)batch import
bughelp wanted

Metriche repository

Star
 (15.739 stelle)
Metriche merge PR
 (Merge medio 2g 16h) (4 PR mergiate in 30 g)

Descrizione

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

Guida contributor