From f0dde8c1223fa9cdffcfb44c6a3654d0940e00e0 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 16 Feb 2019 15:40:02 +0000 Subject: tests: Add png loading test. --- monkey-test/load-png.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 monkey-test/load-png.yaml (limited to 'monkey-test') 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 -- cgit v1.2.3