Commit Graph

24 Commits

Author SHA1 Message Date
Daniel Silverstone ee054db071
monkey: Excise sslcert and add loading blocking support
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 09:15:27 +01:00
Vincent Sanders 19dded8cfa add ability for monkey farmer to launch browser with environment variables set 2020-03-23 17:40:53 +00:00
Daniel Silverstone f9b80469e0
test: Extra info when windows don't destroy quickly
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-22 17:50:51 +00:00
Daniel Silverstone a29ed7c083
monkeyfarmer.py: Ensure that we capture and repeat stderr
In order that we can process stderr in monkey-see-monkey-do
we need to capture it in the farmer and re-echo it through
Python's stderr object

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-01-10 22:21:17 +00:00
Vincent Sanders 5632c9c8c0 stop bad unicode data from crashing teh test harness
instead of exploding if monkey returns a bad unicode string instead
 a warning will be reported and the unicode decode performed with
 character replacemnt instead
2019-12-31 19:42:33 +00:00
Daniel Silverstone 09f6c50980
monkey: Support testing page info state
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-12-01 18:24:34 +00:00
Daniel Silverstone 6826e5d612 monkeyfarmer: Make polling even more robust
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-03 13:15:28 +01:00
Daniel Silverstone 41ecb495d0 monkeyfarmer, driver: Add support for clicking on things
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-03 12:31:43 +01:00
Daniel Silverstone 45097c7f39 monkeyfarmer: Probably make handling of monkey more robust
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-03 12:31:22 +01:00
Daniel Silverstone ad67eeff4b monkeyfarmer: Be a little more verbose when exiting
In an effort to try and determine why we sometimes get unexpected
exits, print the line queue during the handling of process exit.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 17:40:15 +01:00
Daniel Silverstone 5c9d54d05b Monkey: Properly support reload in farmer and driver
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 12:24:14 +01:00
Vincent Sanders f46b77160a ensure monkey farmer copes with recv returnint EAGAIN 2019-07-06 10:08:10 +01:00
Vincent Sanders ccf336bb4a make monkey driver and farmer python files pylint and pep8 clean 2019-07-04 22:44:58 +01:00
Vincent Sanders e01bbee405 fix monkey testing setting of options to add necessary prefix 2019-07-02 11:29:54 +01:00
Vincent Sanders 4368c4c042 attempt to make monkeyfarmer process exit detection more reliable 2019-06-27 13:16:51 +01:00
Daniel Silverstone 5c0eee43e2 Monkey: Support a -w argument to the monkey_driver.py
In order to better support valgrind and friends, add -w to
the monkey driver.  You can use it as:

monkey_driver.py ...normalargs... -w 'valgrind -v --track-origins=yes'

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-06-15 20:01:08 +01:00
Vincent Sanders c74c8332ac allow monkey tests to stop navigation 2019-06-06 17:17:27 +01:00
Vincent Sanders 4be18fcf47 detect monkey exit rather than waiting forever for a defunct process 2019-06-06 17:17:27 +01:00
Vincent Sanders 27ee92c872 extend the monkey test tooling to cope with ssl certificate windows 2019-06-05 20:58:40 +01:00
Daniel Silverstone 1736bdcfee Add js-exec to monkey_driver, add a test, etc.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-06 19:20:18 +01:00
Daniel Silverstone 6bbb672c57 Monkeyfarmer: Support logging
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-06 11:02:36 +01:00
Daniel Silverstone b25c7b3d2d Add plot commands output for auth test 2019-02-16 10:23:17 +00:00
Daniel Silverstone 46b6b7c9b4 Final tweaks, support LOGIN in monkeyfarmer 2018-11-04 10:35:22 +00:00
Daniel Silverstone b34a52e4b9 More monkey stuff 2018-11-03 17:14:43 +00:00
Renamed from frontends/monkey/farmer.py (Browse further)