netsurf/test/monkey-tests/inserted-script.yaml
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

29 lines
595 B
YAML

title: run inserted-script test in JS enabled browser
group: basic
steps:
- action: launch
args:
- "--enable_javascript=1"
- action: window-new
tag: win1
- action: clear-log
window: win1
- action: navigate
window: win1
url: about:blank
- action: block
conditions:
- window: win1
status: complete
- action: js-exec
window: win1
cmd: location.assign("file:///home/dsilvers/dev-netsurf/workspace/netsurf/test/js/inserted-script.html")
- action: block
conditions:
- window: win1
status: complete
- action: wait-log
window: win1
substring: deferred
- action: quit