diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-05-06 11:01:14 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-05-06 11:02:36 +0100 |
commit | 183f9ed8bc4be1f379e365fae5f47dbb348b7978 (patch) | |
tree | 15cddd222ec0bc7f207e6ec4a3a4f2f70522fcf7 /test/monkey-tests | |
parent | 4db81370f3ad8d4812020394fec453131eb089bf (diff) | |
download | netsurf-183f9ed8bc4be1f379e365fae5f47dbb348b7978.tar.gz netsurf-183f9ed8bc4be1f379e365fae5f47dbb348b7978.tar.bz2 |
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>
Diffstat (limited to 'test/monkey-tests')
-rw-r--r-- | test/monkey-tests/inserted-script.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/monkey-tests/inserted-script.yaml b/test/monkey-tests/inserted-script.yaml new file mode 100644 index 000000000..b2f8fbf64 --- /dev/null +++ b/test/monkey-tests/inserted-script.yaml @@ -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 |