From 183f9ed8bc4be1f379e365fae5f47dbb348b7978 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Mon, 6 May 2019 11:01:14 +0100 Subject: 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 --- test/monkey-tests/inserted-script.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test/monkey-tests/inserted-script.yaml (limited to 'test') 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 -- cgit v1.2.3