Commit Graph

1049 Commits

Author SHA1 Message Date
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
Jonathan Lipps 5b68c91298 Merge pull request #5069 from Jonahss/fixATest
fix a test, fixes #5068
2015-05-07 10:25:06 -07:00
Jonah Stiennon fc88c257ba fix a test, fixes #5068 2015-05-07 10:24:26 -07:00
Isaac Murchie f8c8034237 Fix Android keys by finding focused element 2015-05-06 12:38:42 -07:00
Jonah Stiennon 446e90cecc fix #5061, execute_async on Safari Real Device 2015-05-05 17:54:23 -07:00
Jonah Stiennon 88dc19c6e0 use npm modules for sample apps 2015-05-05 17:54:23 -07:00
Jonah Stiennon 62aed52387 add real-device flag for ios test script 2015-05-05 17:54:23 -07:00
sebv 31d0e73d58 android test fix 2015-05-05 16:26:24 +08:00
moizjv 28162c4fd4 Fixing perform touch with release action 2015-04-30 18:11:29 -07:00
Jonathan Lipps 2062bfa727 Merge pull request #4994 from imurchie/isaac-android-keyevent
Add tests for sending simple key events to Android
2015-04-23 15:40:50 -07:00
Jonathan Lipps 965d5f6bcc Merge pull request #4899 from imurchie/isaac-android-gestures
Make android gestures use offsets
2015-04-23 13:43:12 -07:00