From e3c906a74dc846966b107dc35512b9ff06ba29c0 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 21 Feb 2020 18:09:31 +0000 Subject: Monkey: Add innerHTML test Signed-off-by: Daniel Silverstone --- html/inner.html | 14 ++++++++++++++ monkey-test/ns-infrastructure/ecmascript.yaml | 13 +++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 html/inner.html diff --git a/html/inner.html b/html/inner.html new file mode 100644 index 0000000..7d12319 --- /dev/null +++ b/html/inner.html @@ -0,0 +1,14 @@ +Inner + + + + +
+ + + diff --git a/monkey-test/ns-infrastructure/ecmascript.yaml b/monkey-test/ns-infrastructure/ecmascript.yaml index 82ec892..feb023e 100644 --- a/monkey-test/ns-infrastructure/ecmascript.yaml +++ b/monkey-test/ns-infrastructure/ecmascript.yaml @@ -34,6 +34,19 @@ steps: checks: - text-contains: "YESNOReferenceError" +# ensure innerHTML works +- action: navigate + window: win1 + url: http://test.netsurf-browser.org/html/inner.html +- action: block + conditions: + - window: win1 + status: complete +- action: plot-check + window: win1 + checks: + - text-contains: "innerHTML worked" + - action: window-close window: win1 - action: quit -- cgit v1.2.3