cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alsoro...@apache.org
Subject cordova-medic git commit: CB-10652 Added the instruction on how to prepare a slave for Appium tests
Date Thu, 25 Feb 2016 10:26:17 GMT
Repository: cordova-medic
Updated Branches:
  refs/heads/master 2d555eeff -> 9f8002bc6


CB-10652 Added the instruction on how to prepare a slave for Appium tests


Project: http://git-wip-us.apache.org/repos/asf/cordova-medic/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-medic/commit/9f8002bc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-medic/tree/9f8002bc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-medic/diff/9f8002bc

Branch: refs/heads/master
Commit: 9f8002bc65f6a85f9886a6a8a484420ccabf031f
Parents: 2d555ee
Author: Alexander Sorokin <alexander.sorokin@akvelon.com>
Authored: Fri Feb 19 18:03:42 2016 +0300
Committer: Alexander Sorokin <alexander.sorokin@akvelon.com>
Committed: Thu Feb 25 13:25:24 2016 +0300

----------------------------------------------------------------------
 SLAVES.md | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/9f8002bc/SLAVES.md
----------------------------------------------------------------------
diff --git a/SLAVES.md b/SLAVES.md
index 69d49a4..b597642 100644
--- a/SLAVES.md
+++ b/SLAVES.md
@@ -27,6 +27,17 @@ Two special NPM packages are also required for Medic builds on iOS: `ios-sim`
an
 
     npm install -g ios-deploy ios-sim
 
+To run Appium tests on real iOS devices you may need to install ios-webkit-debug-proxy. If
you don't have Homebrew installed, please install according to the [Homebrew docs][brew].
+
+When you've got Homebrew installed, just run the following commands:
+
+ ``` center
+ > brew update
+ > brew install ios-webkit-debug-proxy
+ ```
+
+More info on installing ios-webkit-debug-proxy can be found in [Appium docs][appium_docs].
+
 ### Android
 
 For Android slaves, the Android SDK is required, and can be installed with Android Studio
as described [here][android_full] or without Android Studio as described [here][android_cli].
Alternatively (but only if the slave is running Windows) all tools required for Cordova can
be installed in bulk using the the VS [tools for Cordova][vs_cordova].
@@ -38,6 +49,12 @@ To make the Android commands available on the command line, set the following
en
 - `ANDROID_HOME`, equal to the absolute path to the Android SDK directory
 - `PATH`, extended to contain `ANDROID_HOME/tools` and `ANDROID_HOME/platform_tools`
 
+To run Appium tests, you may also need to download the [latest chromedriver][chromedriver]
and set the following environment variable:
+
+- `CHROMEDRIVER_EXECUTABLE`, equal to the absolute path to the chromedriver executable
+
+This is needed to avoid the bug in older chromedriver versions that was preventing Appium
tests to switch contexts. There are a bunch of github issues created for this bug in Appium
project: [1][appium_bug_1], [2][appium_bug_2], [3][appium_bug_3].
+
 #### SDK
 
 Once the SDK base is installed, actual tools and libraries can be installed by running:
@@ -88,3 +105,9 @@ There is an installation of Buildbot running on Apache Infrastructure,
which can
 [infra_jira]:   https://www.apache.org/dev/infra-contact
 [infra_svn]:    https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/
 [ant]:          http://ant.apache.org/manual/install.html
+[appium_bug_1]: https://github.com/appium/appium/issues/4429
+[appium_bug_2]: https://github.com/appium/appium/issues/5526
+[appium_bug_3]: https://github.com/appium/appium/issues/5616
+[chromedriver]: https://sites.google.com/a/chromium.org/chromedriver/downloads
+[appium_docs]:  https://github.com/appium/appium/blob/master/docs/en/advanced-concepts/ios-webkit-debug-proxy.md
+[brew]:         http://brew.sh/


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message