summaryrefslogtreecommitdiff
path: root/test/monkey-tests/resource-scheme.yaml
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2018-11-03 16:49:58 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2018-11-03 16:49:58 +0000
commit7cc1f1bfc09653479ae8bb0db0f2ce5a7d19bd0a (patch)
treeee7a952f27546646a2a0c19a34de01f4b1535e63 /test/monkey-tests/resource-scheme.yaml
parent90e4976800c18d16c66a72c1d0c23b73ce59d7a2 (diff)
downloadnetsurf-7cc1f1bfc09653479ae8bb0db0f2ce5a7d19bd0a.tar.gz
netsurf-7cc1f1bfc09653479ae8bb0db0f2ce5a7d19bd0a.tar.bz2
Monkey tests: Add more example test plans.
Diffstat (limited to 'test/monkey-tests/resource-scheme.yaml')
-rw-r--r--test/monkey-tests/resource-scheme.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/monkey-tests/resource-scheme.yaml b/test/monkey-tests/resource-scheme.yaml
new file mode 100644
index 000000000..58b0f5eff
--- /dev/null
+++ b/test/monkey-tests/resource-scheme.yaml
@@ -0,0 +1,30 @@
+title: resource scheme
+group: basic
+steps:
+- action: launch
+ language: en
+- action: window-new
+ tag: win1
+- action: navigate
+ window: win1
+ url: resource:does-not-exist
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ - text-contains: Not found
+ - text-contains: Error 404
+- action: navigate
+ window: win1
+ url: resource:netsurf.png
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ - bitmap-count: 1
+- action: window-close
+ - window: win1
+- action: quit
+