-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
87 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Note: It requires docker-compose 1.13.0 | ||
# | ||
# Usage: docker-compose up -d | ||
version: "2.2" | ||
|
||
services: | ||
# Selenium hub | ||
selenium_hub: | ||
image: selenium/hub:3.4.0 | ||
ports: | ||
- "4444:4444" | ||
|
||
# Docker-Android for Android application testing | ||
nexus_7.1.1: | ||
image: butomo1989/docker-android-x86-7.1.1 | ||
privileged: true | ||
# Change path of apk that you want to test. I use sample_apk that I provide in folder "example" | ||
volumes: | ||
- $PWD/example/sample_apk:/root/tmp | ||
# Increase scale number if needed | ||
scale: 1 | ||
ports: | ||
- 6080 | ||
environment: | ||
- DEVICE=Nexus 5 | ||
- CONNECT_TO_GRID=True | ||
- APPIUM=true | ||
- SELENIUM_HOST=selenium_hub | ||
|
||
# Docker-Android for mobile website testing with chrome browser | ||
# Chrome browser exists only for version 7.0 and 7.1.1 | ||
samsung_galaxy_web_7.1.1: | ||
image: butomo1989/docker-android-x86-7.1.1 | ||
privileged: true | ||
# Increase scale number if needed | ||
scale: 1 | ||
ports: | ||
- 6080 | ||
environment: | ||
- DEVICE=Samsung Galaxy S6 | ||
- CONNECT_TO_GRID=True | ||
- APPIUM=true | ||
- SELENIUM_HOST=selenium_hub | ||
- MOBILE_WEB_TEST=True | ||
|
||
# Docker-Android for mobile website testing with default browser | ||
# Default browser exists only for version 5.0.1, 5.1.1 and 6.0 | ||
samsung_galaxy_web_5.1.1: | ||
image: butomo1989/docker-android-x86-5.1.1 | ||
privileged: true | ||
# Increase scale number if needed | ||
scale: 1 | ||
ports: | ||
- 6080 | ||
environment: | ||
- DEVICE=Samsung Galaxy S6 | ||
- CONNECT_TO_GRID=True | ||
- APPIUM=true | ||
- SELENIUM_HOST=selenium_hub | ||
- MOBILE_WEB_TEST=True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.