Gitweb links:
...log
http://git.netsurf-browser.org/netsurf-test.git/shortlog/74ab5697625ffedd66ee8de756aaf8620c480d43
...commit
http://git.netsurf-browser.org/netsurf-test.git/commit/74ab5697625ffedd66ee8de756aaf8620c480d43
...tree
http://git.netsurf-browser.org/netsurf-test.git/tree/74ab5697625ffedd66ee8de756aaf8620c480d43
The branch, master has been updated
via 74ab5697625ffedd66ee8de756aaf8620c480d43 (commit)
from 31123f0ee7ea98b0f4c4d2d5ed8f5b538db33064 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf-test.git/commit/?id=74ab5697625ffedd66ee8de756aaf8620c480d43
commit 74ab5697625ffedd66ee8de756aaf8620c480d43
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
monkey tests: Add test that checks a resource: scheme URL.
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
+
-----------------------------------------------------------------------
Summary of changes:
monkey-test/resource-scheme.yaml | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
create mode 100644 monkey-test/resource-scheme.yaml
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
+
--
NetSurf test cases
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org