Commit Graph

71 Commits

Author SHA1 Message Date
sebv 061dcce1aa disabling various ci tests 2014-05-23 01:00:39 +08:00
sebv 2d0bade2f6 android test fixes 2014-05-22 16:25:17 +08:00
sebv 09508832a6 Adding remaining android test, moved android-webview to common 2014-05-16 18:37:36 +08:00
sebv d5ce534fab first android ci tests + fixes 2014-05-15 21:06:48 +08:00
sebv 0a197898c9 refactored webview tests 2014-05-14 15:40:02 +08:00
bootstraponline af89c29947 Merge pull request #2545 from rgonalo/getStrings
Get localized strings in Android, Selendroid and iOS
2014-05-13 06:40:46 -07:00
sebv 877b0db1c6 fixing jscs styling error 2014-05-13 19:03:17 +08:00
Ruben Gonzalez Alonso 35cfc47e1e Extract strings from apk corresponding to device language instead of default to be used with ID location strategy in Android 2014-05-13 09:58:03 +02:00
bootstraponline 37b4b667f0 Always setCompressedLayoutHeirarchy 2014-05-12 15:14:31 -04:00
Jonathan Lipps c166e6813e add test to prove we get an array even when there's just one id 2014-05-12 14:43:14 +01:00
sebv d260e47a23 first ci sauce tests 2014-05-11 07:17:31 +08:00
Isaac Murchie 2bcc775b01 Allow for encoding of non-ASCII text in Android 2014-05-07 15:55:56 -07:00
sebv b2250b0590 Added comments 2014-05-01 11:42:34 -07:00
Jonathan Lipps 9fd48fb9f8 get rid of native tag name in favor of class name 2014-04-18 11:31:49 -07:00
Jonathan Lipps 9240c32874 fix up use of correct method in toggle tests 2014-04-15 13:38:40 -07:00
Jonathan Lipps 356b7f9df6 separate out chrome tests since they require a different emu 2014-04-15 13:09:55 -07:00
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 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 0312620d09 remove 'mobile: localScreenshot' 2014-04-09 18:43: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 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 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 d2c88032ca fix uiautomator loc strat tests, and quarantine flakey wifi test 2014-04-07 12:10:34 -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
jonahss ff30a5288b -android uiautomator locator strategy 2014-04-02 14:27:49 -07:00
Isaac Murchie 2043324473 Fix setWindow for Android 2014-03-31 10:59:11 -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
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
Dylan Lacey 9a7594870c Added deprecation warning for tag name
Add deprecation warnings for class name, tag name locator strategies.

Deprecations warnings will now be thrown for:
* 'tag name' in the native context
* 'class name' in the native context
* 'class name' in the web context

'class_name' is now a valid locator strategy for checkValidLocStrat

Add test for new class name locator
rename createCommand createGetElementCommand
Adding unit tests for new exception throwing
Add test for incorrect UIA class names
2014-03-25 18:07:02 -07:00
jonahss 1eba0fc45f readded some tests, since they pass now 2014-03-24 11:11:42 -07:00
jonahss 273a008b95 add accessibility_id loc strat 2014-03-24 11:11:04 -07:00
jonahss 6b0e9708ab add -ios_uiautomation locator strategy 2014-03-21 15:44:09 -07:00
Jonathan Lipps 45c2bd346c Merge pull request #2117 from paymand/remove_fast_clear
Removed 'fastClear' capability.
2014-03-21 09:37:55 -07:00
Payman Delshad a9d1e74f63 Removed 'fastClear' capability.
No need for 'fastClear' anymore. Current modes are:
1. fullReset: Reinstall the app.
2. noReset: Don't reinstall, keep app data.
3. fastReset (!fullReset && !noReset): Don't reinstall the app, but clear the app data (pm clear).
2014-03-21 13:02:43 +01:00
Jonathan Lipps 035d2fe8e7 unquarantine toggle tests. they're not too flakey.. maybe 2014-03-20 17:05:09 -07:00
Payman Delshad 5a9a45d6b0 Fix for issue #2085. Use "mobile: reset" in beforeEach(). 2014-03-20 14:22:55 +01:00
Jonathan Lipps d3881987ff fix tests which rely on the desired caps which no longer exist 2014-03-17 15:49:33 -07: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
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