Commit Graph

3770 Commits

Author SHA1 Message Date
Jonathan Lipps
52fc91bf98 these methods take complex body parameters, so make them posts 2014-04-07 09:40:53 -07:00
Jonathan Lipps
77ebc294a7 Merge pull request #2279 from sebv/touch-test
improved touch test + wd upgrade
2014-04-07 09:37:09 -07:00
Jonathan Lipps
556193609e Merge pull request #2278 from paymand/chai
Fixed the version range for sinon-chai.
2014-04-07 09:27:29 -07:00
Jonathan Lipps
02f8443528 Merge pull request #2280 from joe-harter/master
Update gestures.md per Issue #2254
2014-04-07 09:24:58 -07:00
sebv
546df35ea8 improved touch test + wd upgrade 2014-04-07 22:07:45 +08:00
Joe Harter
ba2f128941 Update gestures.md
Documented how to interact with slider on Android
2014-04-07 10:05:46 -04:00
Payman Delshad
92882a578c Fixed the version range for sinon-chai. 2014-04-07 15:21:24 +02:00
Jonathan Lipps
782bd87142 Merge pull request #2269 from jlipps/master
if installing a remote apk fails, uninstall/rm and retry (fix #2188)
2014-04-04 16:33:54 -07:00
Jonathan Lipps
645cc62d61 if installing a remote apk fails, uninstall/rm and retry (fix #2188) 2014-04-04 15:43:43 -07:00
Jonathan Lipps
9dfad1a323 Merge pull request #2267 from jlipps/master
add avdLaunchTimeout/avdReadyTimeout (fix #2247)
2014-04-04 15:01:22 -07:00
Jonathan Lipps
5147cbd58c add avdLaunchTimeout/avdReadyTimeout (fix #2247)
and retry launching emulator once if it doesn't connect (fix #1820)
2014-04-04 14:54:06 -07:00
Jonathan Lipps
4c1c9e1c2d Merge pull request #2266 from jlipps/master
update uiauto to take advantage of new hideKeyboard strategy (fix #1153)
2014-04-04 13:49:24 -07:00
Jonathan Lipps
a88eac5c00 update uiauto to take advantage of new hideKeyboard strategy (fix #1153) 2014-04-04 13:43:06 -07:00
Jonathan Lipps
fb9dbe41d5 Merge pull request #2263 from jlipps/master
ensure we can use appium 1.0 style launch information from the command line
2014-04-04 12:31:09 -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
4175740c51 Merge pull request #2262 from jlipps/master
make sure binaries found using which/where get added to adb.binaries
2014-04-04 12:21:33 -07:00
Jonathan Lipps
f4b25accef make sure binaries found using which/where get added to adb.inaries (fix #2237) 2014-04-04 12:06:58 -07:00
Jonathan Lipps
5ceb9bbb1b finish off routing for #2226 2014-04-04 11:58:46 -07:00
Jonathan Lipps
c2cc280a23 Merge pull request #2260 from sebv/relative-apppath
Relative apppath
2014-04-04 11:46:30 -07:00
sebv
ac69aa6da8 avoiding crashes 2014-04-05 02:15:24 +08:00
sebv
eaf442675e test fix 2014-04-05 02:15:24 +08:00
sebv
4702906186 allowing app paths relative to appium root 2014-04-05 02:11:45 +08:00
Jonathan Lipps
4078b3c7e3 Merge pull request #2255 from jlipps/master
misc fixes
2014-04-04 10:36:58 -07:00
Jonathan Lipps
ce8adcfe6a update testsuite to use 1.0-style caps
- and fix various issues with specific tests
2014-04-03 18:55:49 -07:00
Jonathan Lipps
cd0e4aa34f make sure we check available devices when --default-device is used as well 2014-04-03 18:55:49 -07:00
Jonathan Lipps
341c15b309 fix async bug 2014-04-03 18:55:49 -07:00
Jonathan Lipps
9958cc918c Merge pull request #2253 from jlipps/master
update ios pullFile to account for the fact that the sim root might not ...
2014-04-03 14:12:37 -07:00
Jonathan Lipps
d1553ccf39 update ios pullFile to account for the fact that the sim root might not have the exact version in it
@DylanLacey have a look at this, it's a gotcha of working with sim paths. My iOS SDK version might be '7.0', but the directory might be '7.0.3', or '7.0.3-64', so I changed this to use the directory finder from settings.js, and to throw a warning if there are multiple dirs. Unfortunately this change makes the unit tests rather impractical since it really depends on getting the status of the filesystem, so I added a new functional test and removed the unit tests.
Also verified tests pass now on 6.1, 7.0, and 7.1 with these changes
2014-04-03 11:54:57 -07:00
Jonathan Lipps
30b7c8b0b6 Merge pull request #2227 from DylanLacey/get_docs
Added pullFile support for iOS simulator.
2014-04-03 10:49:54 -07:00
Dylan Lacey
f2f349a36d Added pullFile support for iOS simulator.
`mobile: pullFile {:path => '/Some/Path'}` fetches a file relative to
the root of the device's filesystem.

`mobile: pullFile {:path => '/Applications/Some.app'}` fetches a file
relative to the root of that Application's .app directory, adding in the
GUID.

Fixes #2010, #1807
2014-04-02 22:19:25 -07:00
Jonathan Lipps
63f7cddcf3 Merge pull request #2249 from dandoveralba/non-retina
Support Launching Non-Retina iPhone
2014-04-02 16:06:18 -07:00
bootstraponline
28e6b8db46 Merge pull request #2248 from jlipps/master
raise an error if someone sends in a bad platformName (fix #2179)
2014-04-02 19:01:23 -04:00
Dan Doveralba
b1ac218e63 Support Launching Non-Retina iPhone
* fix the bug in getDeviceString where we always assume 3.5" retina
2014-04-02 16:01:12 -07:00
Jonathan Lipps
f6fc69d496 raise an error if someone sends in a bad platformName (fix #2179) 2014-04-02 15:10:31 -07:00
Jonathan Lipps
1363f7d248 Merge pull request #2228 from Jonahss/androidLocStrat
Android loc strat
2014-04-02 14:37:03 -07:00
jonahss
ff30a5288b -android uiautomator locator strategy 2014-04-02 14:27:49 -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
Jonathan Lipps
382abf31e0 Merge pull request #2169 from DylanLacey/fix_ios_platform
Convert `device` to `platformName` when turning caps into arguments.
2014-04-01 17:58:13 -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
0e11389bb7 Retool loop through actions 2014-04-01 16:18:26 -07:00
Jonathan Lipps
e9bd1403d1 Merge pull request #2212 from landryraccoon/master
Allow changing of ports with an environment variable
2014-04-01 14:45:07 -07:00
Jonathan Lipps
f16fdbacbf Merge pull request #2230 from DylanLacey/examples_71
Update Ruby sample code.
2014-04-01 09:57:49 -07:00
Jonathan Lipps
6e154f4f81 Merge pull request #2229 from vgrigoruk/vgrigoruk-master
Fixes #2131.
2014-04-01 09:55:09 -07:00
Dylan Lacey
633c2ed81e Update Ruby sample code.
Change from tag_name to class_name for u\_i\_catalog, simple\_test,
cucumber tests.

Changed to iOS 7.1 in u\_i\_catalog, simple\_test, cucumber tests.

Changed `capabilities` to `desired_caps` to avoid some weirdo
collisions.

Remove Debugging output from Cucumber.

Add example of send\_keys as an action chain for u\_i\_catalog.
2014-04-01 01:46:27 -07:00
Vitalii Grygoruk
b70dc24eec Mised toLowerCase for iOS.js (+2 squashed commits)
Squashed commits:
[fba9410] Making sure toLowerCase() is still used for chrome.js
[0cbfa68] We don't need toLowerCas() for app argument, as it is used for passing CFBundleIdentifier, fixes #2131
2014-04-01 09:37:49 +02:00
Jonathan Lipps
8ff9a0439d Merge pull request #2223 from jlipps/master
check that iOS deviceName matches instruments's list before launching
2014-03-31 15:38:56 -07:00