mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-26 00:09:41 +03:00
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>
This commit is contained in:
parent
4db81370f3
commit
183f9ed8bc
21
test/monkey-tests/inserted-script.yaml
Normal file
21
test/monkey-tests/inserted-script.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
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: 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
|
Loading…
Reference in New Issue
Block a user