summaryrefslogtreecommitdiff
path: root/monkey-test
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-02-16 15:06:27 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2019-02-16 15:07:07 +0000
commitfd3f5f2d3fa3140ce066e116799de89907010a5e (patch)
tree103a31489f1062bf9ac0fc489fffa6a3cec8b336 /monkey-test
parentfc5afc250049b3230f6f88f03ba2db4d29d5f96d (diff)
downloadnetsurf-test-fd3f5f2d3fa3140ce066e116799de89907010a5e.tar.gz
netsurf-test-fd3f5f2d3fa3140ce066e116799de89907010a5e.tar.bz2
monkey-tests: Add HTTPS test.
Diffstat (limited to 'monkey-test')
-rw-r--r--monkey-test/load-trivial-document-https.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/monkey-test/load-trivial-document-https.yaml b/monkey-test/load-trivial-document-https.yaml
new file mode 100644
index 0000000..eaa4a04
--- /dev/null
+++ b/monkey-test/load-trivial-document-https.yaml
@@ -0,0 +1,29 @@
+title: load trivial document
+group: basic
+steps:
+- action: launch
+ language: en
+- action: window-new
+ tag: win1
+- action: navigate
+ window: win1
+ url: https://test.netsurf-browser.org/html/trivial-document.html
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - text-contains: Trivial document
+ - text-contains: Hello!
+- action: navigate
+ window: win1
+ url: resource:netsurf.png
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: window-close
+ window: win1
+- action: quit \ No newline at end of file