summaryrefslogtreecommitdiff
path: root/monkey-test/ns-infrastructure/jquery.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'monkey-test/ns-infrastructure/jquery.yaml')
-rw-r--r--monkey-test/ns-infrastructure/jquery.yaml40
1 files changed, 40 insertions, 0 deletions
diff --git a/monkey-test/ns-infrastructure/jquery.yaml b/monkey-test/ns-infrastructure/jquery.yaml
new file mode 100644
index 0000000..b96ed7f
--- /dev/null
+++ b/monkey-test/ns-infrastructure/jquery.yaml
@@ -0,0 +1,40 @@
+title: Test jQuery minimal behaviour
+group: jquery
+steps:
+- action: launch
+ language: en
+ options:
+ - enable_javascript=1
+- action: window-new
+ tag: win1
+
+# ensure jQuery 1.12.4 can load
+- action: navigate
+ window: win1
+ url: http://test.netsurf-browser.org/html/jquery/test-1.12.4.html
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - text-contains: "Hello World!"
+
+# ensure jQuery 3.4.1 can load
+- action: navigate
+ window: win1
+ url: http://test.netsurf-browser.org/html/jquery/test-3.4.1.html
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - text-contains: "Hello World!"
+
+- action: window-close
+ window: win1
+- action: quit
+