summaryrefslogtreecommitdiff
path: root/monkey-test
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-02-16 16:58:32 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2019-02-16 16:59:29 +0000
commitc0bc2968f9b41ee47b327385ced8fc73b3481b17 (patch)
treec8e8dbd05bf8c242bd8b23e763630572a1f558b4 /monkey-test
parent3b634c5eaf5126d6727709779e09430046d25184 (diff)
downloadnetsurf-test-c0bc2968f9b41ee47b327385ced8fc73b3481b17.tar.gz
netsurf-test-c0bc2968f9b41ee47b327385ced8fc73b3481b17.tar.bz2
tests: Add test for html page with png image.
Diffstat (limited to 'monkey-test')
-rw-r--r--monkey-test/load-trivial-document-with-png.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/monkey-test/load-trivial-document-with-png.yaml b/monkey-test/load-trivial-document-with-png.yaml
new file mode 100644
index 0000000..01f24a7
--- /dev/null
+++ b/monkey-test/load-trivial-document-with-png.yaml
@@ -0,0 +1,29 @@
+title: load trivial document with png
+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-with-png.html
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - text-contains: Trivial document with PNG
+ - bitmap-count: 0
+- 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