Commit Graph

135 Commits

Author SHA1 Message Date
sebv 69da876064 actually cleaning session in cleanSession 2014-11-21 23:22:15 +08:00
sebv 8cddd0021c device type pr fix 2014-11-21 23:20:58 +08:00
Sergey Belov 6b2e167d56 Simplify getDeviceType() with tests rewritten 2014-11-21 23:20:58 +08:00
sebv dc1945c0ff hidding session immediatly after stop is called, preventing any other command from being executed 2014-11-21 23:20:55 +08:00
Eric Millin e9663c1a33 Revert "Merge pull request #3653 from bem/feature/named-app-priority"
This reverts commit 572f8fa74f, reversing
changes made to 87a52cfdf7.
2014-11-07 12:33:46 -05:00
Sergey Belov eaf5d52a0d Simplify getDeviceType() with tests rewritten 2014-10-28 22:05:46 +03:00
Jonathan Lipps 921077a39d clean up old session when --session-override is used (fix #3891) 2014-10-27 11:13:46 -07:00
Eric Millin 6eeacf1a0d fixed chromedriver support for Chromium/ChromeShell 2014-10-07 12:53:12 -04:00
Jonathan Lipps f122b0562a make sure executeAsync callback address/port aren't lost between sessions
cc @sebv, this is what was going wrong before
2014-08-22 21:27:25 -04:00
Jonathan Lipps 12238610fc fix error message (fix #3257) 2014-07-30 12:01:39 -07:00
Jonathan Lipps 7098ce2de8 make appium device.stop use node-style callback
this will add some logging for #3258
2014-07-30 10:54:07 -07:00
Jonathan Lipps db0446b94f make sure Appium() clones args rather than overwriting them
otherwise default arg value checks will be messed up
2014-07-22 16:30:11 -07:00
sebv 34f0ade6fe configurable callback address and port 2014-07-14 16:37:46 +08:00
sebv e55b32fb45 resetting commandTimeout at each step of the implicitTimeout cycle 2014-07-07 17:10:09 +08:00
Jonathan Lipps 4f1e426c95 bring back autoLaunch: false (fix #2629, fix #3045) 2014-07-03 12:41:52 -07:00
sebv 27e88940f5 Logging improvements 2014-06-25 23:23:11 +08:00
sebv 6325a18b41 prelaunch fix 2014-06-16 11:59:38 +08:00
sebv 24f97d5f25 bugfix: reset 2014-06-13 17:52:41 +08:00
Jonah Stiennon ecc314e2df deviceName is required, unrecognized caps get logged to console. fixes #2765 2014-06-12 16:11:44 -07:00
Fan Bai d618c16f99 Remove setting sessionOverride to false
Remove setting sessionOverride to false when cleaning up the session.
This parameter should left as it is.
Users may specify this value to true in the args when starting Appium server. However, once a session is cleared, this parameter would be as it was, instead of setting it to false.
2014-06-06 12:10:49 +08:00
sebv cdafd82509 Improving logging 2014-06-04 09:07:58 +08:00
Jonathan Lipps dea4186633 add --strict-caps mode
the server will error sessions which provide invalid caps
or don't provid valid ones
fix #2500
2014-05-30 16:54:27 -07:00
Jonathan Lipps 3c8b2404d1 Merge pull request #2687 from sebv/express-4
Migrated to express 4
2014-05-28 10:28:38 -07:00
Jonathan Lipps e433bbc315 allow automation of chrome beta 2014-05-27 18:25:06 -07:00
sebv f535d41abd migrated to express 4 2014-05-27 23:57:47 +08:00
sebv 191963a485 mitigating against redundant/late session closing 2014-05-21 16:34:59 +08:00
sebv 877b0db1c6 fixing jscs styling error 2014-05-13 19:03:17 +08:00
shyam 74fe080148 Misleading error message for a Valid Platform 2014-04-14 11:10:19 -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
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 3ae838a884 ensure we can use appium 1.0 style launch information from the command line (fix #2231) 2014-04-04 12:21:43 -07: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
Jonathan Lipps f6fc69d496 raise an error if someone sends in a bad platformName (fix #2179) 2014-04-02 15:10:31 -07:00
bootstraponline 6995aa868f Set fullReset and noReset from caps 2014-03-25 15:47:36 -04:00
Jonathan Lipps fd24d65ffe make sure caps are sanitized (fix #2103) 2014-03-20 16:58:03 -07:00
Jonathan Lipps 22912968d8 fix fastReset going undefined between sessions (fix #2087) 2014-03-20 00:01:30 -07:00
Jonathan Lipps c9fc1da595 bring back mobile reset 2014-03-19 23:54:29 -07:00
Dylan Lacey 21c8feb8e5 Add new device and automation capabilities, deprecate old caps
Added deprecation warning for older style caps.  Warnings are output
once only for a given function or capability.  A final trailing log
message is released saying there were deprecations.

Busted unit tests into smaller tests

Capabilities are now an object, created by passing the capabilities
to Capabilities.  Properties on that object are copied into the Capabilities object so the API is identical.

Store the value of platformVersion as version.
2014-03-19 09:35:36 -07:00
Jonathan Lipps 873d2df203 make sure we can do forceiPad and safari
heads up @DylanLacey, this will likely cause a conflict with your work
2014-03-14 14:47:48 -07:00
Jonathan Lipps b2a782a899 actually clear out commandTimeout in between sessions so we don't start the timer while a new session is loading the app 2014-03-12 12:42:23 -07:00
Jonathan Lipps e7a72e5921 add --command-timeout server arg
so the server can set its own default timeout.
also, clean up some of the command timeout logic
2014-03-07 13:57:41 -08:00
Jonathan Lipps 52a625388e add some negative tests for device extraction 2014-03-04 12:02:34 -08:00
Jonathan Lipps f76a8ee8f8 fix extraneous parens 2014-03-04 10:41:47 -08:00
Jonathan Lipps 135044fa82 ensure device detection works in a case-insensitive manner 2014-03-04 10:17:19 -08:00
Jonathan Lipps 7adcac31a7 fix websocket bug and make sure named apps clobber device in caps 2014-03-03 16:41:46 -08:00
Jonathan Lipps e4e1936ad6 fix a few ios bugs and add list of things that our testsuite doesn't cover yet 2014-03-03 16:41:46 -08:00
Jonathan Lipps 7ac5c172f5 handle starting server with only --force-iphone or --force-ipad for device too 2014-03-03 16:41:46 -08:00
Jonathan Lipps 7c2593c183 add unit tests for device extraction logic 2014-03-03 16:41:46 -08:00