mirror of
https://github.com/budtmo/docker-android.git
synced 2026-04-25 12:15:52 +03:00
[GH-ISSUE #136] [Web test] Error in Appium server: 'app' option is required for reinstall #94
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-android#94
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bonigarcia on GitHub (Jan 9, 2019).
Original GitHub issue: https://github.com/budtmo/docker-android/issues/136
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
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:
The error can be seen in the Appium server console through noVNC:
@budtmo commented on GitHub (Jan 9, 2019):
I think it is not from my side, it might be from Appium side. could you maybe check with Appium with local machine (without docker)? @bonigarcia
@bonigarcia commented on GitHub (Jan 9, 2019):
@butomo1989 I have just executed the same test against a local Appium server and it is working fine. It seems there is something wrong in the Docker images. As described in #137, the same problem happens (randomly, it sometimes passes) when the Android device is registered in a Selenium Hub.
@budtmo commented on GitHub (Jan 17, 2019):
@bonigarcia it works fine on my side. I think you need to explain steps to reproduce it.
@bonigarcia commented on GitHub (Jan 17, 2019):
As I said, I started docker-android as follows:
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-p0Before running the test, of course you need to wait until the emulator is ready. It can be done checking http://localhost:6080/
Then, you need to execute the test I reported in the issue description. It's a JUnit 4 test. It can be executed from the shell as follows (you need Maven and Java installed in your machine):
The test fails, and the error trace contains the error I already reported:
@butomo1989 How did you execute it to ensure that it works fine?
@budtmo commented on GitHub (Jan 17, 2019):
I use the newest image. Could you try to use 1.6-p2 ?
@bonigarcia commented on GitHub (Jan 17, 2019):
I see the same problem with 1.6-p2 and 1.6-p1.
@budtmo commented on GitHub (Jan 17, 2019):
ahhh.. I use for app testing and it seems that you use it for web testing. I need to take a look. does it work on the previous version: 1.5-p6? @bonigarcia
@bonigarcia commented on GitHub (Jan 17, 2019):
@butomo1989 I don't know.
@anton264 commented on GitHub (Apr 4, 2019):
Not sure if this is related but when using your example in docker-compose:
When using device samsung_galaxy_s6_8.1 i get "Error in Appium server: 'app' option is required for reinstall"
However when using samsung_galaxy_s6_5.1.1 everything is fine
I noticed that the first device does not seem to have a default browser, is this related?