summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-02-16 15:40:02 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2019-02-16 15:40:02 +0000
commitf0dde8c1223fa9cdffcfb44c6a3654d0940e00e0 (patch)
treedcddef0cd46a979d3edba79fe61623e9002df175
parentccb260a288b3c737358f7ceaee8123568225cf90 (diff)
downloadnetsurf-test-f0dde8c1223fa9cdffcfb44c6a3654d0940e00e0.tar.gz
netsurf-test-f0dde8c1223fa9cdffcfb44c6a3654d0940e00e0.tar.bz2
tests: Add png loading 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