diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2019-02-16 16:58:32 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2019-02-16 16:59:29 +0000 |
commit | c0bc2968f9b41ee47b327385ced8fc73b3481b17 (patch) | |
tree | c8e8dbd05bf8c242bd8b23e763630572a1f558b4 /monkey-test | |
parent | 3b634c5eaf5126d6727709779e09430046d25184 (diff) | |
download | netsurf-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.yaml | 29 |
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 |