Commit Graph
12159 Commits
Author SHA1 Message Date
Dylan Lacey 21c8feb8e5 Add new device and automation capabilities, deprecate old caps
Added deprecation warning for older style caps.  Warnings are output
once only for a given function or capability.  A final trailing log
message is released saying there were deprecations.

Busted unit tests into smaller tests

Capabilities are now an object, created by passing the capabilities
to Capabilities.  Properties on that object are copied into the Capabilities object so the API is identical.

Store the value of platformVersion as version.
2014-03-19 09:35:36 -07:00
Jonathan Lipps f46a221b38 bump version to republish v0.17.2 2014-03-19 05:24:18 -07:00
Jonathan Lipps 50ee93d0eb changelog and bump to 0.17.1 for publish v0.17.1 2014-03-18 17:50:42 -07:00
Jonathan Lipps 246614bc63 Merge pull request #2089 from sebv/ci-step1
migrating to osx9 travis VM and adding reset.sh to ci
2014-03-18 17:10:37 -07:00
Jonathan Lipps 32ad09d85e update i-w-d with retry fix and newly built i-w-d 2014-03-18 15:00:59 -07:00
Jonathan Lipps 78a6ef828d clean up changelog 2014-03-18 15:00:59 -07:00
Jonathan Lipps 84643b958b Merge pull request #2093 from egoldblum/master
Pass quiet flag to fruitstrap when appium in quiet mode.
2014-03-18 13:03:13 -07:00
Ethan Goldblum 3de0e8ab84 Pass quiet flag to fruitstrap when appium in quiet mode.
If appium is started with the quiet flag, this will now be propagated to
the fruitstrap install command.  Fruitstap can be very noisy when
installing app with a large number of resources in the bundle.
2014-03-18 12:47:52 -07:00
Jonathan Lipps 678a6a5345 Merge pull request #2092 from bootstraponline/fix_android_uninstall
Fix Android uninstall detection
2014-03-18 09:40:24 -07:00
bootstraponline 1e71cf8c30 Fix Android uninstall detection
API 19 uses the following stdout message:

WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix.
Success

That broke the simple stdout === 'Success' check.
2014-03-18 09:51:27 -04:00
sebv 5d97d56fb7 migrating to osx9 travis VM and adding build to ci 2014-03-18 18:56:10 +08:00
Jonathan Lipps e4263ed7a8 publishing is for ios7.1 now v0.17.0 2014-03-17 16:38:01 -07:00
Jonathan Lipps 1e25558e78 changelog and bump to 0.17.0 for publish 2014-03-17 15:58:18 -07:00
Jonathan Lipps d3881987ff fix tests which rely on the desired caps which no longer exist 2014-03-17 15:49:33 -07:00
bootstraponline fa69e7a049 Merge pull request #2086 from jlipps/master
android fixes
2014-03-17 18:44:50 -04:00
Jonathan Lipps 482d24e0e1 add packageAndLaunchActivity support for selendroid
also convert our tests to use this by default so that it's tested
also move it to after prepareDevice so we make sure to run adb commands
with the appropriate device id etc
fix #2083, cc @bootstraponline
2014-03-17 15:15:48 -07:00
Jonathan Lipps f14c5c9108 use adb's built-in isAppInstalled rather than one that doesn't work 2014-03-17 15:10:58 -07:00
Jonathan Lipps 426283aef8 fix getting logcat logs on selendroid 2014-03-17 14:28:14 -07:00
Jonathan Lipps 9ceb056960 new buttons in test app mean tests need updating 2014-03-17 12:02:06 -07:00
Jonathan Lipps 6a287a08e0 If we can't find the apple webview button in safari, just try and use the webview anyway 2014-03-17 11:58:48 -07:00
Jonathan Lipps 10851a692b ios7.1 thinks there are more buttons in testapp, so update the test 2014-03-17 11:58:48 -07:00
Jonathan Lipps 7a6670d7c5 realize what @dandoveralba was going for 2014-03-17 11:26:35 -07:00
Jonathan Lipps a7a11c4a64 allow zipfiles to give us app path even when it's not explicitly mentioned as an archive member 2014-03-17 11:18:50 -07:00
bootstraponline 8367768680 Merge pull request #2082 from jlipps/master
fix jwpError (fix #2080)
2014-03-17 13:23:05 -04:00
Jonathan Lipps 83b313d671 Merge pull request #2081 from appium/new-device-launching
new device launching strategy needs to use correct version
2014-03-17 10:18:49 -07:00
Jonathan Lipps 8ef1922d73 fix jwpError (fix #2080) 2014-03-17 10:16:48 -07:00
Jonathan Lipps 9089f09831 new device launching strategy needs to use correct version
also, don't override retina/tall/64bit opts when user doesn't actually
pass in deviceName cap.
cc @dandoveralba
2014-03-17 10:10:08 -07:00
Jonathan Lipps 255ad390b0 Merge pull request #2028 from bootstraponline/android_default
Parse Android package and launch activity from apk
2014-03-17 09:37:20 -07:00
Jonathan Lipps e7b04f9a6d Merge pull request #2075 from sebv/track-published
npm submodules track published branch + package update.
2014-03-17 09:23:53 -07:00
bootstraponline 497ab92f4c Merge pull request #2076 from dandoveralba/fix703
Fix for Instruments Before 7.1SDK
2014-03-16 12:19:04 -04:00
bootstraponline 9fd7718707 Parse Android package and launch activity from apk
Update logging

Add null guard

Prevent null waitPkg
2014-03-16 00:14:25 -04:00
Dan Doveralba 370e856f2d Fix for Instruments Before 7.1SDK
* don't pass the device string to instruments if we're less than 7.1 SDK
* clean up some logging
2014-03-15 20:01:41 -07:00
Jonathan Lipps 0585ffdc15 Merge pull request #2074 from bootstraponline/zipalign
Ensure apks are run through zipalign
2014-03-15 16:24:50 -07:00
bootstraponline 40c8c6b8bc Ensure apks are run through zipalign 2014-03-15 15:44:29 -04:00
sebv 46e962d58f package update (regenerated using publish scripts) 2014-03-15 13:43:06 +08:00
sebv d15d573622 npm packages track published branches 2014-03-15 13:43:06 +08:00
bootstraponline 6d0b6c1728 Merge pull request #2073 from dandoveralba/fix-reset
Correct Reset
2014-03-14 21:55:52 -04:00
Dan Doveralba dd38977664 Correct Reset
* sent an outdated pull last time
2014-03-14 18:47:51 -07:00
bootstraponline 5c4829ece7 Merge pull request #2072 from dandoveralba/alerts
Add Location & Contacts Alerts
2014-03-14 21:37:10 -04:00
Dan Doveralba b07e1b633c Add Location & Contacts Alerts
* reqest access to location and contacts in our sample app
2014-03-14 18:26:31 -07:00
Jonathan Lipps 3968114011 Merge pull request #2070 from dandoveralba/fix-locale
Fix reset & setPreferences & setLocServicesPrefs interop
2014-03-14 18:13:48 -07:00
Dan Doveralba 7d98d9ffaa Fix reset & setLocServicesPrefs interop
* same approach as with Safari prefs
2014-03-14 17:37:25 -07:00
Jonathan Lipps 97424aad58 Merge pull request #2069 from dandoveralba/fix-locale
Update reset & setPreferences interop
2014-03-14 17:18:17 -07:00
Dan Doveralba a814b1cc2a Fix reset & setPreferences interop
*  restore reset to it's previous state for mobile/hybrid apps and preserve new approach for safari so it's app plist can be set
2014-03-14 17:06:46 -07:00
Jonathan Lipps 39e112e7a8 Merge pull request #2060 from dandoveralba/51support
Select Simulator Device & SDK
2014-03-14 15:35:19 -07:00
Jonathan Lipps a6d40bb6a8 Merge pull request #2068 from jlipps/master
change safari webview xpath so it works on 7.1 ipad as well
2014-03-14 15:23:51 -07:00
Jonathan Lipps c658945f9d change safari webview xpath so it works on 7.1 ipad as well 2014-03-14 15:17:20 -07:00
Jonathan Lipps 873d2df203 make sure we can do forceiPad and safari
heads up @DylanLacey, this will likely cause a conflict with your work
2014-03-14 14:47:48 -07:00
Jonathan Lipps 101dec6532 Merge pull request #2066 from bootstraponline/android_push
Android mobile push & pull
2014-03-14 13:44:05 -07:00
Dan Doveralba 968b28bfb4 Select Simulator Device & SDK
* use deviceName + version caps to launch a particular simulator device and SDK version (6.1, 7.0.3, 7.1)
* update appium-instruments submodule with corresponding change
* fail if the user tries to set preferences or language/locale and full-reset is requested since they don't work together

Fix #2032, #1642, #304
2014-03-14 13:26:38 -07:00