109 Commits
Author SHA1 Message Date
Jonathan Lipps 463e692c7b Merge pull request #2270 from imurchie/isaac-touch
Add touch and multitouch actions for Android
2014-04-07 14:19:00 -07:00
Isaac Murchie 0df0d2b2dc Add touch and multitouch actions for Android 2014-04-07 12:13:16 -07:00
Jonathan Lipps 52fc91bf98 these methods take complex body parameters, so make them posts 2014-04-07 09:40:53 -07:00
Jonathan Lipps 3ae838a884 ensure we can use appium 1.0 style launch information from the command line (fix #2231) 2014-04-04 12:21:43 -07:00
Jonathan Lipps 5ceb9bbb1b finish off routing for #2226 2014-04-04 11:58:46 -07:00
Jonathan Lipps 0b2bd7b276 Merge pull request #2246 from jlipps/new-endpoints
deprecate soon-to-be-removed mobile: methods
2014-04-02 13:33:54 -07:00
Jonathan Lipps 28f966e9a1 deprecate soon-to-be-removed mobile: methods 2014-04-02 13:32:22 -07:00
Jonathan Lipps 477c7f14dd Merge pull request #2245 from jlipps/new-endpoints
add rest endpoints to handle mobile: methods
2014-04-02 12:48:38 -07:00
Jonathan Lipps bf4dcae4f1 add rest endpoints to handle mobile: methods in addition to executeScript 2014-04-02 12:15:34 -07:00
Jonathan Lipps 17bef33b01 Merge pull request #2224 from imurchie/isaac-touch
First pass at iOS touch for Appium 1.0
2014-04-01 18:09:35 -07:00
Dylan Lacey 148336fc04 Use the new capabilities throughout the codebase.
Every entry in `Capabilities.capabilityConversions` is now used to
convert capabilities into the args array.

Change version to versionVersion.
Change device to platformName
Stop aliasing platformVersion to version in Capabilities.js
2014-04-01 16:42:28 -07:00
Isaac Murchie 016b8c6559 First pass at iOS touch for Appium 1.0 2014-03-31 14:00:44 -07:00
Linzhen Xuan 148e5f3ba3 Modify scroll to take element argument.
Originally, scroll scrolls insider the first ScrollView. However, most of our ScrollViews is CollectionView, or TableView. So, we got error that the ScrollView could not found, although there are multiple "ScrollViews".

We also need to able to scroll insider different scrollviews.
2014-03-28 17:47:55 -04:00
dolf 28c5fd51c3 Move reset timeout from global before to session before 2014-03-27 15:38:04 +04:00
Jonathan Lipps 01395f1391 Merge pull request #2164 from sebv/log-colors
Avoiding passing LogNoColors/LogColors everywhere.
2014-03-25 12:21:38 -07:00
Dylan Lacey 0cbdb9b2d4 Log a deprecation message when mobileSource is called with the JSON
type, asking users to use XML type instead.
2014-03-25 03:18:46 -07:00
sebv 34816eaa70 Avoiding passing LogNoColors/LogColors everywhere. 2014-03-25 11:34:34 +08:00
bootstraponline 02155f137a Merge pull request #2144 from jlipps/master
fix sudo behavior for windows (fix #2137)
2014-03-24 13:55:10 -04:00
Jonathan Lipps f44f586467 Merge pull request #2128 from midopa/master
fix, if appium url set in nodeconfig, dont autopopulate
2014-03-24 10:42:40 -07:00
Jonathan Lipps 9450e18c5a fix sudo behavior for windows (fix #2137) 2014-03-24 10:37:15 -07:00
sebv 1fb38b556a fixing sudo grunt authorize 2014-03-23 16:42:12 +08:00
sampar dd60171b20 fix, if appium url set in nodeconfig, dont autopopulate
otherwise, the autopopulation will set the host to localhost/127.0.0.1, which
wont' work if the node and grid are not on the same machine
2014-03-22 11:56:39 -07:00
Jonathan Lipps 6d2183cd9f also disallow use of appium if it was even installed with sudo 2014-03-21 16:08:42 -07:00
Jonathan Lipps f10e919597 make sure appium won't run under sudo. Too many people run into problems with that 2014-03-21 14:55:48 -07:00
Jonathan Lipps fd24d65ffe make sure caps are sanitized (fix #2103) 2014-03-20 16:58:03 -07:00
Jonathan Lipps d0456ff938 Merge pull request #2099 from rgonalo/master
Allow to have more than one emulator started
2014-03-20 16:20:05 -07:00
Isaac Murchie f4f730e1ee Use contexts for switching native/web 2014-03-19 21:13:47 -07:00
Ruben Gonzalez Alonso b805773310 Add --avd-args option to launch avd with additional args 2014-03-19 18:41:20 +01:00
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 f14c5c9108 use adb's built-in isAppInstalled rather than one that doesn't work 2014-03-17 15:10:58 -07:00
bootstraponline 6494df98d6 Android mobile push & pull
Ruby examples:

mobile :pushFile, data: Base64.encode64('test ruby'), path: '/data/local/tmp/test.txt'

pull_result = mobile :pullFile, path: '/data/local/tmp/test.txt'
Base64.decode64 pull_result
2014-03-14 15:09:13 -04:00
Jonathan Lipps ec46e59c28 Merge pull request #2048 from bootstraponline/ios_mercy
Default to mercy on iOS
2014-03-12 10:01:39 -07:00
bootstraponline 19b8fc4b10 Default to mercy on iOS 2014-03-12 12:50:58 -04:00
sebv 6bfb2729a5 Making sure cwd is appium install dir 2014-03-12 10:56:31 +08:00
Jonathan Lipps 50d03d6b08 store --command-timeout as int 2014-03-07 14:30:00 -08:00
Jonathan Lipps e7a72e5921 add --command-timeout server arg
so the server can set its own default timeout.
also, clean up some of the command timeout logic
2014-03-07 13:57:41 -08:00
Jonathan Lipps 77c20b05d5 show extra server params in logs for easier debugging 2014-03-07 10:41:06 -08:00
Payman Delshad 113fe5ce10 Added support for touch{Down|Up|Move} on Android. 2014-03-07 15:10:52 +01:00
Jonathan Lipps 42780f2655 port chrome config 2014-03-03 16:40:16 -08:00
Jonathan Lipps b058732ebb port android basic config 2014-03-03 16:40:16 -08:00
Jonathan Lipps d097c94c90 Merge pull request #1973 from pavelsmolensky/keepKeyChains
Add option --keep-keychains to save Library/Keychains between appium session restarts
2014-03-03 13:37:08 -08:00
Pavel Smolensky f30631d784 iOS. Add --keep-keychains option and desired capability keepKeyChains 2014-03-03 18:01:13 +03:00
bootstraponline cce7ee0126 Android longClick x, y, and duration support
Ruby examples:

mobile :longClick, element: el.ref

mobile :longClick, element: el.ref, duration: 3000

mobile :longClick, x: 400, y: 297, duration: 3000

mobile :longClick, x: 0.5, y: 0.244
2014-02-27 16:18:05 -05:00
Jonathan Lipps 37f9081b6c Merge pull request #1956 from Jonahss/master
bugfix: watchForUnresponsiveInstruments process run on systems without ios configured
2014-02-26 09:28:09 -08:00
Jonathan Lipps 410aacc1e6 Merge pull request #1961 from paymand/scrollTo
Android: Added support for 'direction' to scrollTo.
2014-02-26 09:27:38 -08:00
Payman Delshad b0976fece8 Android: Added support for 'direction' to scrollTo.
This fix adds a new option (direction) to 'mobile: scrollTo'.
If 'horizontal' is provided (or if the view is a HorizontalScrollView),
we will call setAsHorizontalList() before commencing the scroll.
2014-02-26 15:44:39 +01:00
jonahss 8d6864a55a bugfix: watchForUnresponsiveIntruments process was being run even on systems which did not have ios configured, causing a fatal error. 2014-02-25 15:54:11 -08:00
jonahss cd411874a4 changed .appiumconfig to .apapiumconfig.json so we can load it with require() and have it cached 2014-02-25 15:53:55 -08:00
Jonathan Lipps 21c9242fb6 finish android hybrid support
and refactor android webview tests to work for android as well as selendroid
2014-02-24 14:59:40 -08:00
Jonathan Lipps 077e6996b4 show stacktrace when we can't start a session 2014-02-20 16:17:23 -08:00