budtmo/docker-android

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

Ouverte

#136 ouverte le 9 janv. 2019

 (9 commentaires) (0 réaction) (0 personne assignée)Python (1 745 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (15 739 étoiles)
Métriques de merge PR
 (Merge moyen 2j 16h) (4 PRs mergées en 30 j)

Description

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

Guide contributeur