Commit Graph

259 Commits

Author SHA1 Message Date
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
sebv 1a47bdab6b added non synthetic web click cap 2014-02-21 02:41:51 +08:00
Payman Delshad 3f4d7b85ef Display error message correctly when appInstall/Remove fails on iOS. 2014-02-20 09:58:25 +01:00
sebv aee717a6e9 moved hardcoded atoms to appium-atoms 2014-02-17 15:14:12 +08:00
sebv 0b192ff3fd using atoms from appium-atoms npm package 2014-02-17 10:51:16 +08:00
Jonathan Lipps 55ab8f263b say uiautomator exited in logs 2014-02-14 11:28:23 -08:00
Jonathan Lipps 6f4f275180 don't fail test if we can't find strings.xml (fix #1905)
also, make sure apidemos tests run as android even if DEVICE isn't set
2014-02-14 10:54:03 -08:00
Jonathan Lipps a8f247a3d6 Merge pull request #1890 from bootstraponline/android_coverage
Add androidCoverage cap
2014-02-14 09:55:26 -08:00
bootstraponline bbd03f89c6 Add androidCoverage 2014-02-14 12:54:05 -05:00
Jonathan Lipps 3b2092f3a0 Merge pull request #1914 from imurchie/isaac-reset
Bundle all ChromeDrivers when publishing
2014-02-14 09:53:25 -08:00
Isaac Murchie d266d4b7fa Bundle all ChromeDrivers when publishing 2014-02-14 09:50:48 -08:00
Jonathan Lipps 13a9460214 provide defaults for bootstrapConfig 2014-02-14 09:45:18 -08:00
Jonathan Lipps d2af7968d7 add ability to scroll ios views
this works on ios7!
2014-02-13 17:38:22 -08:00
Isaac Murchie e9d59b859c Bundle chromedriver into build 2014-02-13 14:16:48 -08:00
Isaac Murchie 9ee3e319af Bundle ChromeDriver into build, for Mac and Linux 2014-02-11 11:47:25 -08:00
Ruben Gonzalez Alonso c1df6cb62f Fix error installing unlock app if there are spaces in Appium folder 2014-02-11 16:23:48 +01:00
Felix Hsu 767edb34f1 The latest Window should be the last one of getWindowHandles() returns 2014-02-11 16:58:20 +08:00
Isaac Murchie b5dbcecfaa Add exceptions to accent check 2014-02-07 17:07:44 -08:00
Jonathan Lipps 3309c70b58 we need to wait a bit sometimes for apple button to become present in mobile safari 2014-02-06 14:05:26 -08:00
Jonathan Lipps 2baf36939d fix gappium test app path 2014-02-06 11:56:29 -08:00
Isaac Murchie 6daff9e810 Add app wait package 2014-02-04 15:35:58 -08:00
bootstraponline 4d7d0533d3 Fix async fullReset on Android
Update docs
2014-02-04 14:25:36 -05:00
Sam Park 72ac77544b Make fullReset clear app on session stop as well 2014-02-04 09:45:09 -08:00
Isaac Murchie ac80afbcc7 Allow multiple ChromeDrivers to be running 2014-02-03 16:49:26 -08:00
Payman Delshad 4c707ad4e3 el.tag_name on Android should return element's className. 2014-02-03 16:01:05 +01:00
Sam Park b5f1b02d3d Add better error message on missing build-tools, include other versions. 2014-02-01 13:33:08 -08:00
Jonathan Lipps 47bd7fbd5e Merge pull request #1842 from bootstraponline/fix_ios_reset
Fix iOS reset
2014-02-01 12:49:52 -08:00
Sergio Neves Barros 0fb70b95cc Added two minor fixes related to safari launcher 2014-02-01 19:51:16 +00:00
bootstraponline e556a71b6c Fix iOS reset
iOS reset deletes the following:

/iPhone Simulator/7.0.3/Library/TCC
/iPhone Simulator/7.0.3/Library/Caches
/iPhone Simulator/7.0.3/Media
/iPhone Simulator/7.0.3/Library/Keychains
/iPhone Simulator/7.0.3/Applications

iOS full reset deletes the entire 'iPhone Simulator' folder.
2014-02-01 12:02:03 -05:00
bootstraponline afa2928ddf Fix long click on Android
Android's uiautomator has a broken long click implementation.
uiautomator will not pause long enough on long click which causes Android to detect the long click as a normal click.

This fix uses reflection to access uiautomator's private touchDown/touchUp methods to reimplement longClick correctly.

In theory I should be able to obtain a reference to android.app.UiAutomation without using reflection. However this doesn't seem possible when using uiautomator. getInstrumentation().getUiAutomation(); doesn't work because we're not using instrumentation.
2014-01-31 16:31:06 -05:00
Jonathan Lipps 080d792a40 make sure we don't send status objects back to appium#start (fix #1706) 2014-01-30 16:47:27 -08:00
Jonathan Lipps c515951811 Merge pull request #1829 from imurchie/isaac-accents
Handle accented characters sent to text fields in iOS
2014-01-30 13:18:11 -08:00
Isaac Murchie f4e74a7e3e Allow for accented characters in text fields 2014-01-30 12:55:04 -08:00
Isaac Murchie 5d7a543839 Handle errors in spawn 2014-01-30 11:43:23 -08:00
Isaac Murchie 1ce3ea2b6e Handle non-String input to errorStreamHandler 2014-01-30 11:25:33 -08:00
sebv cc16d12b4b linted uiauto 2014-01-31 02:29:58 +08:00
Jonathan Lipps cba4d59347 Merge pull request #1831 from sebv/ios-hybrid-bugfix
ios-hybrid bugfix
2014-01-30 10:13:56 -08:00
Jonathan Lipps f0f97d35cf Merge pull request #1816 from jasonchutko/url-alertview
Fixed a crash when there is a URL in an alert's title.
2014-01-30 10:10:13 -08:00
Jonathan Lipps 585bf8218b Merge pull request #1814 from paymand/getIDeviceObj
getIDeviceObj() should return the device object.
2014-01-30 10:09:06 -08:00
sebv f4aa464cf4 bugfix, simplifying loop avoiding win=undefined 2014-01-30 21:36:04 +08:00
Dave Bassan 4c1048dfdd corrected failures against styling rules. 2014-01-30 11:30:33 +00:00
Dave Bassan 387ee4b9b0 nonSyntheticWebClick does not work for real safari. 2014-01-30 10:53:01 +00:00
Dave Bassan d6f169c1aa do not click apple button for real safari. 2014-01-30 10:51:59 +00:00
Jonathan Lipps 728f6c7df1 Merge pull request #1824 from bootstraponline/master
Escape single quotes for iOS id search
2014-01-29 15:09:50 -08:00
bootstraponline 2fa6443e47 Escape single quotes for iOS id search
Fixes: Selenium::WebDriver::Error::JavascriptError: Unable to parse the format string
2014-01-29 13:17:45 -05:00
sebv d971f72c46 stricter jshint rules enforcable from editor 2014-01-29 14:03:34 +08:00
Payman Delshad 6ad413105d No need to remove the app if bundleId is null. 2014-01-27 09:51:16 +01:00
Payman Delshad 8b9dba6413 getIDeviceObj() should return the device object. 2014-01-26 13:13:57 +01:00
Jonathan Lipps 6b637d8aa8 make sure we don't crash if IDevice init fails 2014-01-24 13:48:50 -08:00
Jonathan Lipps ab061642d0 finish locale udid fix (fix #1773) 2014-01-24 13:48:43 -08:00