Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9E1F418530 for ; Thu, 25 Feb 2016 10:26:17 +0000 (UTC) Received: (qmail 68836 invoked by uid 500); 25 Feb 2016 10:26:17 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 68807 invoked by uid 500); 25 Feb 2016 10:26:17 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 68798 invoked by uid 99); 25 Feb 2016 10:26:17 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2016 10:26:17 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 31142E3A67; Thu, 25 Feb 2016 10:26:17 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: alsorokin@apache.org To: commits@cordova.apache.org Message-Id: <7209ce53555544cb92a78f5c1bab7249@git.apache.org> X-Mailer: ASF-Git Admin Mailer 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 +0000 (UTC) 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 Authored: Fri Feb 19 18:03:42 2016 +0300 Committer: Alexander Sorokin 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