Commit Graph

1059 Commits

Author SHA1 Message Date
Isaac Murchie 90d62dd7dd Move to logger from appium-support 2017-02-28 15:09:49 -05:00
Dan Graham 6f5a9d1001 Don't allow undefined process.argv[1] in parser
argParse breaks if process.argv[1], which is a problem if Appium is being run as a binary. Added check so that if process.argv[1] is undefined, set the prog name to 'Appium'
2017-02-10 11:38:41 -08:00
Jonathan Lipps 3db81cc19a refactor unexpected shutdown, and fix lint so we can use upgraded appium eslint 2016-12-07 14:39:03 -08:00
shoma 34b83a2982 Remove duplicate trailing in jshintrc for test 2016-12-06 10:48:24 +09:00
Jonathan Lipps fb4a9c0be0 make XCUITest driver the default for ios tests with platformVersion >= 10 2016-08-18 14:59:31 -07:00
Isaac Murchie 7403a13c1a Require Node 4+ 2016-08-03 12:37:20 -07:00
Isaac Murchie 50725af059 Add eslint and pre-commit hooks 2016-08-03 12:14:29 -07:00
Jonathan Lipps c22c00fb82 add ability for importing package to send in logHandler which can spy on logs
this is necessary for the new appium desktop
2016-07-19 15:03:05 -07:00
Isaac Murchie 4843d41679 Update to new name for xcuitest driver 2016-07-08 10:52:08 -07:00
Isaac Murchie 5a67708df0 Add ability to use automationName XCUITest 2016-06-22 09:56:45 -07:00
Isaac A. Murchie 9c1b85ff88 Merge pull request #6455 from usmonster/fix-tests-incorrect-assertion-syntax
Fixes tests' incorrect use of .throw() assertion
2016-05-02 04:51:09 +02:00
Usman Akeju 7966de6703 Fixes tests' incorrect use of .throw() assertion
As pointed out in appium/appium#6451, there are many test cases that do
`should[.not].throw` instead of `should[.not].throw()`, which is
incorrect and will never fail.

This fixes those incorrect uses of the method as well as refactors/fixes
the tests that turned out to be actually failing.
2016-05-01 16:31:59 +02:00
Usman Akeju 734a96be5a Allows --desired-caps to be passed a filename
The --desired-caps flag can now be passed the name of a JSON file as an
argument. This also adds an alias for the flag, `-dc`, and fixes tests.
2016-05-01 14:55:50 +02:00
Isaac Murchie 609ba21b13 Remove an only-restrictor from tests 2016-04-29 18:32:10 +02:00
Isaac Murchie 406a06a7de Support the sessionOverride flag 2016-04-29 11:02:41 +02:00
Isaac Murchie c6e020bd45 Add tests for logging levels 2016-03-22 10:06:39 -07:00
Srinivasan Sekar a62c7f5909 Lo-dash library update to improve js performance
Removed migration library

Removed migration library

updated request-promise to support to lo-dash 4.0

Reverted request promise update till we upgrade bluebird

Dont fix caps (will be done in inner drivers)

reverted other lib updates

Removed helpers as it is moved to base driver

Update dependencies and fix node version

Resolved merge conflicts

Updated lodash after merge conflicts
2016-03-19 00:03:15 +05:30
Isaac Murchie c2ac161a9e Dont fix caps (will be done in inner drivers) 2016-03-17 07:30:54 -07:00
Isaac Murchie 587e26ca79 Remove npm-shrinkwrap from master branch 2016-03-09 11:13:01 -08:00
Jonah Stiennon 72aeb807ad fix NewCommandTimeout handling for freshly created sessions 2016-01-20 11:51:35 -08:00
Jonah Stiennon 7af030c6f4 remove 'fsevents' from shrinkwrap during prepublish, add a test 2016-01-12 13:14:39 -08:00
Scott Dixon e579024fb2 Implemented missing getStatus method 2016-01-08 14:39:33 -08:00
Isaac Murchie abb7b543aa Add handling of boolean caps 2015-12-30 08:34:28 -08:00
Jonathan Lipps 843c380fda add version to --show-config so it is easily parseable 2015-12-02 11:37:57 -08:00
Jonathan Lipps 053a62bf59 --show-config should not log.info so it can be JSON parseable 2015-12-02 11:33:36 -08:00
Jonathan Lipps 64d36041a9 don't let getDriverForCaps blow up mysteriously on forgotten platformName 2015-10-27 20:44:06 -04:00
Isaac Murchie 8a7a794322 Fix an issue with session deletion 2015-09-30 09:34:29 -07:00
sebv 7a6a28a14d adds deviceName cap to fix tests 2015-08-20 03:23:10 +08:00
Isaac Murchie 1c5c80f084 Deprecate server args that are also desired caps 2015-06-08 09:55:22 -07:00
Jonathan Lipps 0c78873589 send set of current session data to subdrivers on new session so they can accept/reject based on available resources 2015-06-04 08:00:36 +01:00
Jonathan Lipps 39bca1ddd0 fix up logging and make sure deleteSession isn't sent directly to inner execute 2015-06-02 18:41:18 +01:00
Jonathan Lipps 84317aaf36 WIP integrating fakedriver for full e2e involving appium and a driver 2015-06-02 18:41:18 +01:00
Isaac Murchie 3a5df2778e Skip deprecated arg test that needs more deprecated args 2015-06-02 10:27:40 -07:00
Isaac Murchie d03253432e Allow for non-boolean deprecated server arguments 2015-05-28 08:43:04 -07:00
sebv 1c64bf06c8 logger + logsink 2015-05-27 12:09:22 +08:00
Isaac Murchie f4cd02446b Add tests for config 2015-05-26 09:30:31 -07:00
Jonathan Lipps f925f761f9 port parser, server startup, config, and express 2015-05-21 23:43:31 -07:00
Jonathan Lipps b0bf4bbd51 get rid of old tests as well 2015-05-21 21:33:06 -07:00
sebv 126dcdadd9 skipping flaky gps test 2015-05-15 20:13:12 +08:00
sebv d015b5a771 skipping failing iOS tests, investigate later 2015-05-15 19:53:03 +08:00
sebv 386014a29f skips failing input test 2015-05-15 17:20:03 +08:00
sebv 2af5d506e2 skipping flaky test 2015-05-14 21:21:17 +08:00
sebv 9b0b4d12ff atttempting to make android lock tests less flaky 2015-05-14 20:10:27 +08:00
sebv a9fc452439 android test fix 2015-05-14 19:57:51 +08:00
sebv 4e2da502dc spreading keyboard tests 2015-05-14 16:48:24 +08:00
sebv 29dfe1f6f8 text fix 2015-05-14 16:39:42 +08:00
sebv 05028271f9 splitting keyboard tests 2015-05-14 16:24:58 +08:00
Jonathan Lipps 3204592be5 add a pre-push githook that prevents force-pushing to master. requires git >= 1.8.2 2015-05-12 13:35:56 -07:00
moizjv 37e782dc69 Fixing sendKeys and clear text for real samsung devices 2015-05-12 00:25:45 -07:00
Jonah Stiennon ab4a0c82fd fix #4825 context switching on real safari 2015-05-11 10:47:48 -07:00