summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--monkey-test/resource-scheme.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/monkey-test/resource-scheme.yaml b/monkey-test/resource-scheme.yaml
new file mode 100644
index 0000000..791a79c
--- /dev/null
+++ b/monkey-test/resource-scheme.yaml
@@ -0,0 +1,34 @@
+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
+ window: win1
+ checks:
+ - 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
+ window: win1
+ checks:
+ - bitmap-count: 1
+- action: window-close
+ window: win1
+- action: quit
+