Jonathan Lipps
c3464b3e5c
--ipa and --app aren't actually incompatible. --ipa needs --app to provide bundleId
2013-08-08 10:58:16 -07:00
Jonathan Lipps
c2583644bf
give the appium server a very big http socket timeout.
...
sometimes it can take a very long time to start an app, during which we haven't responded
with a new session response yet. the server was dropping the connection to the client
in these cases. the timeout prevents the connection from being dropped.
2013-08-07 14:42:53 -07:00
rockbot
ffdfefe744
updates error message to account for bad address error
2013-07-23 13:31:50 -07:00
Jonathan Lipps
c4193ab287
remove deprecated flags that default to true
2013-06-05 14:39:32 -07:00
Jonathan Lipps
7d9088d003
reconfigure alerts code so it starts after appium itself launches
2013-06-05 14:27:52 -07:00
Jonathan Lipps
0bc33a5fef
check arguments for conflicts before attempting to start the server
2013-06-04 15:10:35 -07:00
Eric Plaster
5d7cc06ae8
Added changes to notify websocket listeners of alert dialogs.
...
One thing to keep in mind: iOS and Android treat dialogs differently. iOS "system" dialogs can be triggered from the application under test as well as from external sources (the system). However, Android treats dialogs as any other window. So, to make this work, the bootstrap app looks for windows with the package name of "com.android.systemui". These are dialogs that the system has instantiated, but not the app.
So, for example, if we had the same application written on both platforms, and they both had a login screen, and you click on the login button without putting in a username. On iOS, you would be notified if they used a standard system dialog, and you would not be notified on Android. However, if the system put up a low battery dialog, it would be detected on both systems.
So... The main reason for implementing this is to stop failing tests from unintentional dialogs appearing during an overnight test.
Updated call signiture to instruments.
2013-05-28 13:11:36 -05:00
Jonathan Lipps
23403f3002
methods for determining and setting git rev for appium; include in /status
...
fix #612
2013-05-24 09:57:16 -07:00
Swapna Chennadi
e5e3b9d147
Fixed travis errors
...
Updated code based on review comments
Used 'request' instead of 'http'
2013-05-17 12:40:21 +01:00
Swapna Chennadi
dbb9219548
Added support for registering appium server to the selenium grid
2013-05-16 09:50:58 +01:00
Jonathan Lipps
759be36375
make --verbose the default option and add --quiet for the other case
2013-05-08 16:27:21 -07:00
Jonathan Lipps
e5d43beb9f
refactor server.js and add config functions so we fail if not configured
2013-05-03 16:38:04 -07:00
Jason Carr
7bd42b20e2
Last bit of refactoring.
2013-04-02 11:04:10 -07:00
Jason Carr
7053376c1a
Allow cross domain middleware and handling for OPTIONS requests.
2013-04-02 10:58:21 -07:00
Jonathan Lipps
62e3e8addf
instruments-without-delay pwnz warp drive
2013-04-01 18:19:12 -07:00
Jonathan Lipps
f365e46277
make sure server quits if it's pre-launch and doesn't work
2013-03-26 09:33:58 -07:00
Jonathan Lipps
e8578ccedf
fix misuse of argparse with nargs=1
2013-03-08 10:27:35 -08:00
Jonathan Lipps
d9db9834a6
support pre-launching safari
2013-03-07 17:09:25 -08:00
Jonathan Lipps
8d6b0619ec
make sure alternative ports get converted to int
2013-03-06 09:51:09 -08:00
Jonathan Lipps
8a0c51b449
add global error handling for appium controller methods
2013-02-12 14:22:41 -08:00
Sebastian Tiedtke
ceb753ff93
Be friendlier in case Appium is already running.
2013-02-04 22:27:02 -08:00
Sebastian Tiedtke
d63227ce54
Added optional webhook for logging.
2013-02-04 17:07:22 -08:00
Jonathan Lipps
f479d3ba19
ability to warp time and visit the future
2013-01-30 15:54:44 -08:00
Jonathan Lipps
06a6dcae38
make instruments use same logger as appium
2013-01-29 16:23:12 -08:00
Jonathan Lipps
7494ea3596
allow winston to log to file by starting server with --log
...
also, can tail log by running 'grunt log'
2013-01-29 15:20:24 -08:00
Jonathan Lipps
83f8bf4594
standardize ways of generating appium responses to conform to jsonwp
2013-01-29 12:26:10 -08:00
Jonathan Lipps
79239c8700
create middleware file to make things clean
2013-01-29 11:01:31 -08:00
Jonathan Lipps
2734b7fefe
add a pre-launch mode that doesn't listen until sim is running
2013-01-29 10:29:26 -08:00
Jonathan Lipps
d6a33d017b
update readme and example tests to use new way of starting app
2013-01-25 11:28:47 -08:00
Jonathan Lipps
2679d5f360
better handling of content-length variations
2013-01-23 12:27:27 -08:00
Jonathan Lipps
f3a2f4035c
to reuse the server we need to rescope these variables
2013-01-17 18:41:45 -08:00
Jonathan Lipps
80f1e4f956
don't show appium logging in console during tests
2013-01-17 11:47:42 -08:00
Jonathan Lipps
7d96af7117
allow 'grunt test' to spin up and shutdown server before/after tests
2013-01-16 18:07:13 -08:00
Sebastian Tiedtke
9f66f0f25a
No more plain console.log across node js code.
2013-01-15 19:33:50 -08:00
Sebastian Tiedtke
83e4e681fb
Made sure it works either way: The cl interface won't be able to supply a callback.
2013-01-15 17:04:19 -08:00
Jonathan Lipps
120d226123
added an example of how to run server along with tests in the test file
2013-01-15 16:42:27 -08:00
jeremy avnet
b1f5bb4922
have grunt lint use js strict mode and fix up the codebase to pass
2013-01-15 11:43:08 -08:00
jeremy avnet
4c3f498de2
unused requires
2013-01-15 11:43:08 -08:00
Sebastian Tiedtke
4c5583d450
Added new layer for iOS abstraction.
2013-01-14 20:33:02 -08:00
Jonathan Lipps
70d585565e
remove trace dir by default in appium
2013-01-14 14:14:55 -08:00
Jonathan Lipps
54aeff74f0
add grunt task for running appium
2013-01-14 12:34:31 -08:00
Sebastian Tiedtke
60a48a5a5c
Deal with invalid http POST more gracefully.
2013-01-13 18:20:12 -08:00
Sebastian Tiedtke
5e32419501
Stab add hooking up REST http interface with instruments api.
2013-01-12 13:49:46 -08:00
Sebastian Tiedtke
2537f6e85f
Command line arg parsing lives in its own file now.
2013-01-11 16:06:40 -08:00
Sebastian Tiedtke
ccaf131cb7
Massive refactor: Mostly to remove ambiguity of the term 'app'.
2013-01-11 15:40:59 -08:00
Adam Christian
f115b9bf5d
Moving the argument parsing out of server.js for clarity
2013-01-11 14:55:20 -08:00
Adam Christian
0407c02091
More re-org, adding some new commands
2013-01-11 00:17:28 -08:00
Sebastian Tiedtke
f77e2e44d9
Keep conventions for function vs. ctor straight.
2013-01-10 18:54:42 -08:00
Adam Christian
1c733fd067
More boilerplating of the things
2013-01-10 18:21:50 -08:00