summaryrefslogtreecommitdiff
path: root/monkey-test/load-trivial-document.yaml
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-02-16 14:29:45 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2019-02-16 14:29:45 +0000
commiteda64c6733a3cf8c5eec419d6903a3f08cfeb828 (patch)
tree4443ef85cf1faa00e7949c3e9042e310edc0835f /monkey-test/load-trivial-document.yaml
parent74ab5697625ffedd66ee8de756aaf8620c480d43 (diff)
downloadnetsurf-test-eda64c6733a3cf8c5eec419d6903a3f08cfeb828.tar.gz
netsurf-test-eda64c6733a3cf8c5eec419d6903a3f08cfeb828.tar.bz2
monkey tests: Initial set of tests.
Diffstat (limited to 'monkey-test/load-trivial-document.yaml')
-rw-r--r--monkey-test/load-trivial-document.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/monkey-test/load-trivial-document.yaml b/monkey-test/load-trivial-document.yaml
new file mode 100644
index 0000000..42ef322
--- /dev/null
+++ b/monkey-test/load-trivial-document.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: http://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