Commit Graph

828 Commits

Author SHA1 Message Date
Payman Delshad
528b8fa432 fixup! Proper install/uninstall when running on iOS device. 2014-07-08 09:38:05 +02:00
Payman Delshad
f6c3022407 Proper install/uninstall when running on iOS device.
- Install the app only if it is not installed or fullReset is requested.
- Uninstall the app only if fullReset is requested.
2014-07-07 16:14:54 +02:00
tonetheman
759690bf3c ps in kill chromedriver added -f switch and moved awk to since pid will be second for linux and mac 2014-07-02 14:42:28 -05:00
Isaac Murchie
3ad294c621 Fix handling of ime activation 2014-07-02 09:58:27 -07:00
Jonathan Lipps
3d4a4861e8 fix installApp name conflict and add tests (fix #3030) 2014-07-01 11:48:24 -07:00
bootstraponline
bdde3a3a5e Fix scroll into view
If the desired object already exists on screen, then avoid scrolling to it.
Without this check, the server will error because there may not be a scrollable.

Scrollable existance depends on screen size. For testing, it's better to have
code that works regardless if scrolling is required or not. This matches the
complex_find behavior.
2014-06-30 11:17:07 -04:00
sebv
27faa2df82 disabled ios grace delay, simplified bootstrap 2014-06-27 23:59:15 +08:00
Jonathan Lipps
7d70a828b8 Merge pull request #2965 from imurchie/isaac-unicodefix
Fix exit from unicode mode
2014-06-26 11:40:21 -07:00
Isaac Murchie
52f1ab14db Fix exit from unicode mode 2014-06-26 09:13:06 -07:00
sebv
6884abe9bb Generic method to avoid server crash. 2014-06-26 22:53:59 +08:00
Jonathan Lipps
b319a3d5a8 Merge pull request #2937 from paymand/selendroid_default_context
Init the current context as NATIVE_APP for Selendroid.
2014-06-26 02:40:24 -07:00
Jonathan Lipps
d66c81c2a5 Merge pull request #2945 from imurchie/isaac-networkconnection
Add network connection endpoint
2014-06-26 02:38:49 -07:00
Jonathan Lipps
1dc5588a2a Merge pull request #2960 from moizjv/fix-2959
Adding additional check to if shutdown is already in process
2014-06-26 02:37:10 -07:00
sebv
d40c484042 making sure all pageload timeout are cleared. 2014-06-26 15:33:24 +08:00
sebv
58987cbfe6 preventing pageLoad cbs being called twice 2014-06-26 15:10:23 +08:00
Moiz Virani
9f7e2efd95 Adding additional check to if shutdown is already in process 2014-06-25 17:00:36 -07:00
Isaac Murchie
9d863079cc Add network connection endpoint 2014-06-25 13:09:41 -07:00
bootstraponline
0d8feaf66a Merge pull request #2939 from bootstraponline/scroll_into_view
Add scrollIntoView
2014-06-25 14:02:12 -04:00
bootstraponline
dcedc884e5 Add scrollIntoView
Example:

 a =  find_element(:uiautomator, 'new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text("WebView").instance(0));')

 a.text # WebView
2014-06-25 12:22:23 -04:00
sebv
a1f221c411 Moved default loglevel to debug, added loglevel info message at startup 2014-06-25 23:53:08 +08:00
sebv
27e88940f5 Logging improvements 2014-06-25 23:23:11 +08:00
Payman Delshad
fd076e368c Remove touch up/down/move from routeNotYetImplemented. 2014-06-25 14:04:24 +02:00
Payman Delshad
fc43c43adb Init the current context as NATIVE_APP for Selendroid. 2014-06-24 14:15:42 +02:00
Jonathan Lipps
950e9dd437 prime ios screenshot command with correct orientation (fix #722)
cc @edgy360
2014-06-23 16:39:38 -07:00
Jonathan Lipps
850c486772 make sure we wait for location services ios files too 2014-06-23 16:39:38 -07:00
Jonathan Lipps
11b403e33c fix launchAndQuit to actually wait for safari dirs if we need them 2014-06-23 15:01:50 -07:00
Jonathan Lipps
7a814ba0a6 Merge pull request #2920 from imurchie/isaac-unicode
Add Android/Selendroid IME methods
2014-06-23 13:49:19 -07:00
Isaac Murchie
76e1c69645 Add Android/Selendroid IME methods 2014-06-23 12:01:20 -07:00
Jonathan Lipps
5eef4b09ea Merge pull request #2922 from Mikrovolnovka/mikrovolnovka
Extending avoidProxy to make it possible make requests to all mobile-spe...
2014-06-23 11:05:18 -07:00
Jonathan Lipps
dd5b36a849 Merge pull request #2917 from edgy360/IntentParser
Add server arguments for intent options
2014-06-23 10:59:56 -07:00
Jonathan Lipps
393962710a fix typo 2014-06-23 10:55:48 -07:00
Jonathan Lipps
762afa3649 allow users to bypass appium's sudo checks
so people who know what they're doing can do crazy things
partially works around #1902
2014-06-23 10:40:14 -07:00
sebv
f62c5b8b98 fixed bodyParser.urlencoded deprecation warning 2014-06-23 22:36:10 +08:00
Mikrovolnovka
d5b43a801e Extending avoidProxy to make it possible make requests to all mobile-specific appium requests from e2e tests code. 2014-06-23 11:54:59 +03:00
Jamie Edge
1aeee167c7 Added arguments for intent options. 2014-06-21 12:22:20 +01:00
Jonathan Lipps
7daa0bfe7f make sure we do a value check 2014-06-20 16:58:23 -07:00
sebv
f73fc3d3d6 fixing comma 2014-06-21 02:29:01 +08:00
sebv
3e95e4f4b5 hideKeyboard update 2014-06-21 02:10:51 +08:00
Jonathan Lipps
4777fa3ca7 get rid of forceQuitInstruments (fix #2901) 2014-06-19 11:26:24 -07:00
Moiz Virani
3eca569879 Adding new intent parameters with default values, added object as parameter to startApp, added test to start app with intent category, updated capabilities.md, updated sub-module appium-adb to point to v1.1.0 and updated package.json 2014-06-18 14:56:23 -07:00
Jonathan Lipps
191b924145 Merge pull request #2889 from Jonahss/launchAndKill
launchAndKill checks for simulator directories to be present before fina...
2014-06-18 13:28:51 -07:00
Jonah Stiennon
7707867e1f launchAndKill checks for simulator directories to be present before finally killing. Fixes 2612 2014-06-18 11:59:04 -07:00
Jonathan Lipps
3773735fa0 use node-style callbacks and fix undefined logic 2014-06-18 11:47:58 -07:00
sebv
7fd67af4e3 update for new uiauto command processing 2014-06-18 23:57:03 +08:00
Jonathan Lipps
9772c718f0 equalsWebElement is not supported on android 2014-06-17 14:13:32 -07:00
Jonah Stiennon
44508dddce removed old comment 2014-06-17 13:42:23 -07:00
sebv
333b1c3fa6 big code refactoring, disentangling packages 2014-06-17 18:56:00 +08:00
Jonathan Lipps
b2ce74e0f4 remove vestigial -real xpath strategy 2014-06-16 14:45:22 -07:00
Jonah Stiennon
4317dd3383 Implemented pullFolder for iOS and android 2014-06-16 11:54:54 -07:00
sebv
033e24b25e code cleanup 2014-06-16 15:12:53 +08:00