Commit Graph

479 Commits

Author SHA1 Message Date
Jonathan Lipps
af5d3a353a Merge pull request #2460 from imurchie/isaac-contexts-fix
Fix iOS context switching
2014-05-02 15:01:36 -07:00
Isaac Murchie
c6b679c437 Fix context change 2014-05-02 14:19:13 -07:00
Jonathan Lipps
8272680dc4 make sure ios native swipe commands aren't run on webview elements (fix #2383) 2014-05-02 10:49:12 -07:00
Jonathan Lipps
8a5b698e28 bring grunt lint into parity with jshintrc, and fix lint issues 2014-05-01 12:09:17 -07:00
Jonathan Lipps
cfd1e77dc7 Merge pull request #2445 from imurchie/isaac-contexts-beta
Allow multiple calls to get contexts in iOS
2014-05-01 10:47:13 -07:00
Jonathan Lipps
c58418e309 Merge pull request #2441 from Jonahss/autoAcceptAlert
Auto accept alert
2014-05-01 10:45:52 -07:00
jonahss
8fbb75d644 fixed #2400 - autoAcceptAlerts. Added tests 2014-04-30 19:50:30 -07:00
Isaac Murchie
eebe52a340 Allow multiple calls to get contexts in iOS 2014-04-30 11:03:20 -07:00
Jonathan Lipps
d0537b687b Merge pull request #2444 from imurchie/isaac-contexts-beta
Fix iOS context switch
2014-04-30 10:15:43 -07:00
labuser
47e30c762c have safari native tap position 40px lower on the screen
fix for https://github.com/appium/appium/issues/2273 /
https://github.com/appium/appium/pull/2403 /

Conflicts:
	lib/devices/ios/ios.js
2014-04-30 10:13:09 -07:00
Isaac Murchie
d6b21a6da9 Fix iOS context switch 2014-04-30 09:07:45 -07:00
bootstraponline
fc35a190ca Improve DumpWindowHierarchy.java 2014-04-28 18:28:00 -04:00
sebv
1df406033e Using Async.queue to queue commands 2014-04-28 13:01:04 -07:00
Fan Bai
d9947dad35 Fix issue when iterating the entries
Every time you call entries.pop(), the entries.length minus 1.
We should check entries.length>0 as the end of loop.

This request is same as pull request #2426. fix a typo error.
2014-04-28 09:36:59 -07:00
Jonathan Lipps
8f984929bb fix async bug (fix #2382) 2014-04-24 12:04:00 -07:00
Ruben Gonzalez Alonso
6e326a29af Fix Appium crash when fails getting source page 2014-04-23 09:44:05 +02:00
Jonathan Lipps
9fd48fb9f8 get rid of native tag name in favor of class name 2014-04-18 11:31:49 -07:00
Payman Delshad
abf26a8fb3 Allow for whitespace in app path. 2014-04-17 11:16:44 -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
Isaac Murchie
ec28b95468 Allow android multi touch actions without an element 2014-04-14 11:04:25 -07:00
shyam
aef110413b ApkSigning when using custome keystore fails
ApkSigning fails when using a custom keystore. Looking into the logs I realized that the options to the jarsigner command are not in the right order. Once I made this change the signing went ahead as expected.
2014-04-11 14:47:14 -07:00
Jonathan Lipps
55100ce28b camel-case device-ready-timeout (fix #2268) 2014-04-10 15:41:26 -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
e5e30a8cd4 get rid of old device and version caps 2014-04-10 15:01:11 -07:00
Jonathan Lipps
50c3dbd7fd remove 'mobile: findAndAct' 2014-04-10 14:09:57 -07:00
Jonathan Lipps
50d6c93a8d don't try to validate device string if we're not >= ios 7.1 2014-04-10 14:08:57 -07:00
Isaac Murchie
8e89c749ef Fix bugs in action handling 2014-04-10 10:59:50 -07:00
Sergio Neves Barros
8292b71387 Updated the app argument for the installApp, launchApp and closeApp to point to the device rather than appium. Also added a check for the "installToRealDevice" function to check if "launch" desired capability has not been set to false (as in that instance we want to manage installation and launching ourselves).
Changed the launch parameter to autoLaunch (including a check for launch desired capability and deprecation warning).
2014-04-10 10:00:01 -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
2871411d90 remove 'mobile: waitForPageLoad' 2014-04-09 18:40:03 -07:00
Jonathan Lipps
afe4674f4a remove 'mobile: fireEvent' 2014-04-09 18:38:23 -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
bbcfdb829c use dumpWindowHierarchy for xml page source as well since it's more reliable 2014-04-09 16:12:47 -07:00
Jonathan Lipps
d6314b57ad make sure weird responses don't crash appium 2014-04-09 11:19:32 -07:00
Jonathan Lipps
6725332707 don't use windowHandles for switching to/from webview 2014-04-08 12:02:44 -07:00
Dan Doveralba
425e68198f Fix cleanupAppState
* wrap the path to sim in quotes for find
2014-04-07 15:49:50 -07:00
Jonathan Lipps
f861bf3ba5 Merge pull request #2286 from jlipps/master
fix up some version handling issues
2014-04-07 14:51:23 -07:00
Jonathan Lipps
1a7dd6f234 fix up some version handling so we can use ios 7.0 with xcode 5.1 for example 2014-04-07 14:44:39 -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
fce54be2c8 creating instruments needs to come before setting prefs
because in setting prefs we might ephemerally launch instruments
which will check available devices
2014-04-07 12:01:57 -07:00
Jonathan Lipps
e1fe06ceb5 inner cbs need proper scope (cc @sebv) 2014-04-07 11:25:11 -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
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
a88eac5c00 update uiauto to take advantage of new hideKeyboard strategy (fix #1153) 2014-04-04 13:43:06 -07:00