Commit Graph

3257 Commits

Author SHA1 Message Date
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 a8b7d1d57a Merge pull request #1836 from jlipps/master
make sure we don't send status objects back to appium#start (fix #1706)
2014-01-30 16:51:45 -08: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
Jonathan Lipps ba0ba4dd00 Merge pull request #1810 from imurchie/isaac-spawn
Handle errors during spawn
2014-01-30 12:36: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
Jonathan Lipps 0e9ff597f1 Merge pull request #1832 from sebv/jshint-ui-auto
Jshinted uiauto, added check in grunt target
2014-01-30 11:11:37 -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
Jonathan Lipps cdc34fedbf Merge pull request #1796 from sebv/sebv-working
Test reformatting, step2.
2014-01-30 10:02:31 -08:00
Dan Cuellar 4b2a2f0574 Merge pull request #1817 from davebassan/real-safari-ios7
Real safari ios7
2014-01-30 07:40:26 -08:00
bootstraponline 204542c001 Merge pull request #1830 from lbunschoten/patch-1
Update running-on-linux.md
2014-01-30 06:26:19 -08:00
sebv f4aa464cf4 bugfix, simplifying loop avoiding win=undefined 2014-01-30 21:36:04 +08:00
lbunschoten 1f14f37c60 Update running-on-linux.md
Fixed a typo (missing closing quote)
2014-01-30 14:22:06 +01:00
Dave Bassan 4c1048dfdd corrected failures against styling rules. 2014-01-30 11:30:33 +00:00
Dave Bassan acfb5403a2 Merge branch 'real-safari-ios7' of https://github.com/davebassan/appium into real-safari-ios7 2014-01-30 10:55:05 +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
sebv 968576af3d jshinting with white=true 2014-01-30 16:58:19 +08:00
sebv 714e24c789 Test reformatting, step2. 2014-01-30 16:55:47 +08: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 05ce60fb8e Merge pull request #1826 from jlipps/master
update style guide with new spacing guide
2014-01-29 13:39:38 -08:00
Jonathan Lipps 3226bbe122 update style guide with new spacing guide 2014-01-29 13:29:55 -08:00
Jonathan Lipps 3448af6ee8 Merge pull request #1823 from sebv/jshint-white
Stricter jshint rules enforcable from editor
2014-01-29 11:35:24 -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
Dave Bassan 83ee3cc341 nonSyntheticWebClick does not work for real safari. 2014-01-27 21:30:11 +00:00
Dave Bassan 60736352a0 do not click apple button for real safari. 2014-01-27 21:25:40 +00: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 a2dff90975 Merge pull request #1809 from jlipps/master
fix some ios real device launch issues
2014-01-24 14:23:00 -08: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
Jonathan Lipps 08d93ce628 Merge pull request #1808 from jlipps/master
better support for settings/preferences app
2014-01-23 17:35:55 -08:00
Jonathan Lipps 4bd07d6bfc enable basic prefs tests to pass on ios7 sim
@sebv this will probably cause merge conflicts, I tried to make it easy
to see what's going on here
2014-01-23 15:29:47 -08:00
Jonathan Lipps 82875e7531 make settings app a first-class appium-supported ios app 2014-01-23 15:20:02 -08:00
Jonathan Lipps 5934782a36 add some logging around real device methods 2014-01-23 10:29:31 -08:00
bootstraponline cfc50b20c0 Merge pull request #1806 from jlipps/master
if we can't find ios logs, just log error, don't crash appium
2014-01-23 10:15:27 -08:00
Jonathan Lipps e943650ab8 if we can't find ios logs, just log error, don't crash appium 2014-01-23 10:10:14 -08:00
Jason Chutko e55cfb2a73 Fixed a crash when there is a URL in an alert's title. 2014-01-22 15:42:18 -08:00
Jonathan Lipps 046c0be31e Merge pull request #1767 from dandoveralba/instruments
Instruments Launch Failures
2014-01-22 14:49:32 -08:00
Dan Doveralba 6a01d34dc3 Instruments Launch Failures
* kill any Instruments processes in a bad state before retrying
2014-01-22 14:44:15 -08:00
bootstraponline 4e48ca24b4 Merge pull request #1797 from imurchie/isaac-docs
Fix Android system setup link
2014-01-22 12:09:07 -08:00
Isaac Murchie 117c3b6e69 Fix Android system setup link 2014-01-22 12:01:58 -08:00
Jonathan Lipps b49ad93c2c add tests for --force-iphone and --force-ipad 2014-01-21 19:22:31 -08:00
Jonathan Lipps 21b7ac9d56 Merge pull request #1788 from jlipps/master
make toggle test ready for appium test
2014-01-21 19:02:19 -08:00