Commit Graph

21 Commits

Author SHA1 Message Date
Daniel Silverstone
7d0fe9ecbc use faster loader for yaml in test parsing 2019-11-30 15:41:20 +00:00
Daniel Silverstone
2d87e7ebea monkey_driver: Make window-close take timeout=5
In the parallel test we run, it can sometimes take more than
a second for the JS compartment of a window to close down.  Since
that's part of the shutdown of a window, the driver can end up
timing out.  Default the timeout to 5s for window-close but make
it possible to specify in the yaml too.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-09-07 14:53:18 +01:00
Daniel Silverstone
84a9c5accf monkey_driver: Fix sleep-ms
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-03 17:28:35 +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
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
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
Daniel Silverstone
e14a6598be monkey_driver.py: Allow for no wrapper to be passed
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-06-15 21:24:35 +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
1951c0f809 allow repeat loops to specify values and navigation to use them 2019-06-12 23:55:54 +01:00
Vincent Sanders
c90bd806a6 make the timer-start and timer-restart action name the timer in the same way 2019-06-12 22:59:40 +01:00
Vincent Sanders
c74c8332ac allow monkey tests to stop navigation 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
Vincent Sanders
12bba5a1cc fix block conditional checks to be orred instead of anded 2019-05-20 10:07:53 +01:00
Vincent Sanders
ea9bc4e2be allow block to use elapsed timer as a condition 2019-05-18 23:45:52 +01:00
Vincent Sanders
5bd54f4c0c allow render checks to be empty 2019-05-18 22:39:15 +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
4db81370f3 Support logging in monkey_driver.py
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-06 11:02:36 +01:00
Michael Drake
883b202c58 monkey driver: Print the bitmap plot-check. 2019-02-16 15:40:47 +00:00
Daniel Silverstone
5bda316fb3 Add missing call to run_test_plan 2019-02-16 15:34:22 +00:00
Daniel Silverstone
ceefe45205 Enable running of the tests from test.netsurf-browser.org 2019-02-16 14:57:17 +00:00