diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2019-02-16 14:14:38 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2019-02-16 14:14:38 +0000 |
commit | 74ab5697625ffedd66ee8de756aaf8620c480d43 (patch) | |
tree | 9066d393ad497698e3f049ce58866b4cf97dfe9d | |
parent | 31123f0ee7ea98b0f4c4d2d5ed8f5b538db33064 (diff) | |
download | netsurf-test-74ab5697625ffedd66ee8de756aaf8620c480d43.tar.gz netsurf-test-74ab5697625ffedd66ee8de756aaf8620c480d43.tar.bz2 |
monkey tests: Add test that checks a resource: scheme URL.
-rw-r--r-- | monkey-test/resource-scheme.yaml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/monkey-test/resource-scheme.yaml b/monkey-test/resource-scheme.yaml new file mode 100644 index 0000000..791a79c --- /dev/null +++ b/monkey-test/resource-scheme.yaml @@ -0,0 +1,34 @@ +title: resource scheme +group: basic +steps: +- action: launch + language: en +- action: window-new + tag: win1 +- action: navigate + window: win1 + url: resource:does-not-exist +- action: block + conditions: + - window: win1 + status: complete +- action: plot-check + window: win1 + checks: + - text-contains: Not found + - text-contains: Error 404 +- action: navigate + window: win1 + url: resource:netsurf.png +- action: block + conditions: + - window: win1 + status: complete +- action: plot-check + window: win1 + checks: + - bitmap-count: 1 +- action: window-close + window: win1 +- action: quit + |