Jonathan Lipps
c293cfe2f2
update our testsuite to use new native methods
...
instead of deprecated mobile methods.
Also add a few server methods that were accidentally
left out before
2014-04-14 16:50:52 -07:00
Jonathan Lipps
517b7f1964
rename the confusing 'nonSyntheticWebClick' and turn it off by default ( fix #2306 )
2014-04-14 15:02:19 -07:00
Jonathan Lipps
dc44f68214
update npm deps and fix some tests ( fix #2287 )
2014-04-14 14:50:49 -07:00
Jonathan Lipps
a780dd9549
use forthcoming wd geolocation methods
2014-04-11 09:56:29 -07:00
Jonathan Lipps
3583347584
camel-case app-(wait-)activity
2014-04-10 15:38:24 -07:00
Jonathan Lipps
318617819f
change app-package and app-wait-package to appPackage and appWaitPackage
2014-04-10 15:20:24 -07:00
Jonathan Lipps
50c3dbd7fd
remove 'mobile: findAndAct'
2014-04-10 14:09:57 -07:00
Jonathan Lipps
b78c8ddfe9
remove 'mobile: getCommandTimeout'
2014-04-09 18:45:25 -07:00
Jonathan Lipps
0312620d09
remove 'mobile: localScreenshot'
2014-04-09 18:43:02 -07:00
Jonathan Lipps
f1ab0c7a73
remove 'mobile: findElementNameContains'
2014-04-09 18:41:02 -07:00
Jonathan Lipps
e2c6a9919b
remove json page source in favor of xml
...
and fix a bug in android bootstrap's xpath that snuck in last time
2014-04-09 18:07:02 -07:00
Jonathan Lipps
958aac7e09
remove old xpath support and promote -real xpath to xpath
2014-04-09 16:15:54 -07:00
Jonathan Lipps
37b3d8b6e4
fix selendroid command timeout bug and fix test that proves it work
2014-04-09 13:34:00 -07:00
Jonathan Lipps
6725332707
don't use windowHandles for switching to/from webview
2014-04-08 12:02:44 -07:00
Jonathan Lipps
cb358bf31e
fix android multiaction tests by using new wd api
2014-04-07 22:13:09 -07:00
Jonathan Lipps
f12ec9ebb4
make sure safari/chrome tests work correctly
2014-04-07 17:27:55 -07:00
Isaac Murchie
4878c44b5f
Fix iOS multitouch tests
2014-04-07 16:58:20 -07:00
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
Jonathan Lipps
5094d595c1
fixing gesture tests and quarantining broken multiaction tests
2014-04-07 12:25:15 -07:00
Isaac Murchie
0df0d2b2dc
Add touch and multitouch actions for Android
2014-04-07 12:13:16 -07:00
Jonathan Lipps
d2c88032ca
fix uiautomator loc strat tests, and quarantine flakey wifi test
2014-04-07 12:10:34 -07:00
Jonathan Lipps
cfb800662a
don't reset sim during location test because it removes necessary files
2014-04-07 12:01:57 -07:00
sebv
546df35ea8
improved touch test + wd upgrade
2014-04-07 22:07:45 +08:00
Jonathan Lipps
a88eac5c00
update uiauto to take advantage of new hideKeyboard strategy ( fix #1153 )
2014-04-04 13:43:06 -07: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
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
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
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
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
Isaac Murchie
0e11389bb7
Retool loop through actions
2014-04-01 16:18:26 -07: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
Isaac Murchie
016b8c6559
First pass at iOS touch for Appium 1.0
2014-03-31 14:00:44 -07:00
Jonathan Lipps
a928cab752
Merge pull request #2222 from imurchie/isaac-contexts
...
Fix setWindow for Android
2014-03-31 12:21:22 -07:00
Jonathan Lipps
39949dc835
check we can launch a device based on user's caps and throw a nice error if not ( fix #2114 )
2014-03-31 12:15:34 -07:00
Jonathan Lipps
ab7b70906a
add test that we don't reuse element ids (related to #2096 )
2014-03-31 11:02:42 -07:00
Isaac Murchie
2043324473
Fix setWindow for Android
2014-03-31 10:59:11 -07:00
Jonathan Lipps
f78cee9644
Merge pull request #2211 from jlipps/real-xpath-android
...
Real XML-based XPath for Android
2014-03-28 15:07:50 -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
Jonathan Lipps
97710ca829
Merge pull request #2209 from sebv/async-queue
...
Ios command queue using Async.queue
2014-03-28 10:45:05 -07:00
Jonathan Lipps
ec563bd2b8
add real xpath support for android
...
- relies on xpath support for ios pull request
- adds support under the '-real xpath' locator strategy
- deprecates the original xpath strategy, which will be replaced in 1.0
- because we have no way to get a dom fragment starting from an element,
this strategy will only work for root-level queries
2014-03-28 10:29:48 -07:00
Jonathan Lipps
36fbeca8c1
update android xml source to have class names as node names rather than just 'node'
2014-03-28 10:29:48 -07:00
Jonathan Lipps
78f3a43982
add test for existing xml source behavior
2014-03-28 10:29:48 -07:00
sebv
b19d92efd7
making isDisplayed helper run in parallel
2014-03-28 22:59:32 +08:00
Jonathan Lipps
d0474f3051
add tests for new '-real xpath' temporary loc strat
...
and test for new real xml page source
2014-03-27 16:29:55 -07:00
jonahss
878497d63f
accessibility_id -> accessibility id
2014-03-27 15:05:17 -07:00
jonahss
0ff63ff003
-ios_uiautomation -> -ios uiautomation
2014-03-27 14:42:14 -07:00