Vincent Sanders
40aa44e4f5
make options test use build directory for temporary files rather than /tmp
2019-09-21 13:25:45 +01:00
Vincent Sanders
737a09d53e
make the temporary file names unique so other tests do not overwrite them
2019-09-21 13:12:31 +01:00
Vincent Sanders
d5490be98a
fix options test
2019-09-21 13:11:53 +01: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
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
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
1d5a024a68
Sleepy JS test, handy to alt+f4 during load to check shutdown
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-06-15 21:09:49 +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
4be18fcf47
detect monkey exit rather than waiting forever for a defunct process
2019-06-06 17:17:27 +01:00
Vincent Sanders
f2000ae60e
improve stdout print formatting
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
41608a73c0
monkey-see-monkey-do: Also restore stdout/stderr when success
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-06-04 21:50:43 +01:00
Vincent Sanders
19de453ad5
Fix dump choices test data to align with altered logging levels
2019-05-31 18:56:14 +01:00
Vincent Sanders
295617b451
Fix test target use of logging config defines
2019-05-31 18:44:04 +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
183f9ed8bc
Example script console log test, needs genericising on path
...
Currently this has to have a full-path to the inserted-script test
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-06 11:02:36 +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
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
8dc7869937
Use console formatting to prove it out
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-05 22:17:10 +01:00
Daniel Silverstone
19b45fb494
Support script insertion after conversion has begun
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-04 12:18:21 +01:00
Daniel Silverstone
c17e588b66
Javascript: Support setTimeout and friends
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-03 11:33:07 +01:00
Michael Drake
35e9b5de6d
Tests: Add simple JS test for dynamic layout.
2019-05-03 08:25:24 +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
Michael Drake
d4b3889227
Automated testing output: Show description differently from test lines.
2019-02-16 15:21:42 +00:00
Daniel Silverstone
ceefe45205
Enable running of the tests from test.netsurf-browser.org
2019-02-16 14:57:17 +00:00
Michael Drake
1698a75282
monkey test: Rename file with an '=' character.
2019-02-16 13:25:16 +00:00
Daniel Silverstone
f33db7d442
Monkey: Support 401login in the monkey-driver et al.
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-02-16 10:58:17 +00:00
Daniel Silverstone
b25c7b3d2d
Add plot commands output for auth test
2019-02-16 10:23:17 +00:00
Michael Drake
c1e1df42e2
Test: Fix simultanious-fetches.yaml to not look like a YAML alias.
2018-11-04 14:46:46 +00:00
Michael Drake
9a90babfa1
Test: Monkey driver: Fix blocking for *all* windows.
2018-11-04 14:45:46 +00:00
Michael Drake
d676c7e5b6
Test: Monkey driver: Implement sleep-ms and repeat actions.
2018-11-04 14:34:31 +00:00
Michael Drake
eb87192ddc
Test: Monkey driver: Split out conds_met function.
2018-11-04 13:13:23 +00:00
Michael Drake
e12e50efaa
Test: Monkey driver: Timers can live outside launches.
2018-11-04 13:10:27 +00:00
Michael Drake
3ea6fadac2
Test: Monkey driver: Improve navigate step logging.
2018-11-04 11:07:36 +00:00