summaryrefslogtreecommitdiff
path: root/monkey-test
diff options
context:
space:
mode:
Diffstat (limited to 'monkey-test')
-rw-r--r--monkey-test/load-png.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/monkey-test/load-png.yaml b/monkey-test/load-png.yaml
new file mode 100644
index 0000000..e850e55
--- /dev/null
+++ b/monkey-test/load-png.yaml
@@ -0,0 +1,28 @@
+title: load a png file
+group: basic
+steps:
+- action: launch
+ language: en
+- action: window-new
+ tag: win1
+- action: navigate
+ window: win1
+ url: https://test.netsurf-browser.org/cgi-bin/image.cgi?format=png&width=40&height=30
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - bitmap-count: 1
+- 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