Gitweb links:
...log
http://git.netsurf-browser.org/netsurf-test.git/shortlog/f0dde8c1223fa9cdffcfb44c6a3654d0940e00e0
...commit
http://git.netsurf-browser.org/netsurf-test.git/commit/f0dde8c1223fa9cdffcfb44c6a3654d0940e00e0
...tree
http://git.netsurf-browser.org/netsurf-test.git/tree/f0dde8c1223fa9cdffcfb44c6a3654d0940e00e0
The branch, master has been updated
via f0dde8c1223fa9cdffcfb44c6a3654d0940e00e0 (commit)
via ccb260a288b3c737358f7ceaee8123568225cf90 (commit)
from fe2df00c047f542a5aa048165310b1ef9bf3323b (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=f0dde8c1223fa9cdffcfb44c6a3654d0940e00e0
commit f0dde8c1223fa9cdffcfb44c6a3654d0940e00e0
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
tests: Add png loading 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
commitdiff
http://git.netsurf-browser.org/netsurf-test.git/commit/?id=ccb260a288b3c737358f7ceaee8123568225cf90
commit ccb260a288b3c737358f7ceaee8123568225cf90
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
tests: Check for expected bitmap count in plot checks.
diff --git a/monkey-test/load-trivial-document-https.yaml
b/monkey-test/load-trivial-document-https.yaml
index f862cab..f80dd80 100644
--- a/monkey-test/load-trivial-document-https.yaml
+++ b/monkey-test/load-trivial-document-https.yaml
@@ -15,6 +15,7 @@ steps:
- action: plot-check
window: win1
checks:
+ - bitmap-count: 0
- text-contains: Trivial document
- text-contains: Hello!
- action: navigate
diff --git a/monkey-test/load-trivial-document.yaml
b/monkey-test/load-trivial-document.yaml
index 42ef322..ab6803e 100644
--- a/monkey-test/load-trivial-document.yaml
+++ b/monkey-test/load-trivial-document.yaml
@@ -15,6 +15,7 @@ steps:
- action: plot-check
window: win1
checks:
+ - bitmap-count: 0
- text-contains: Trivial document
- text-contains: Hello!
- action: navigate
-----------------------------------------------------------------------
Summary of changes:
monkey-test/{load-trivial-document.yaml => load-png.yaml} | 7 +++----
monkey-test/load-trivial-document-https.yaml | 1 +
monkey-test/load-trivial-document.yaml | 1 +
3 files changed, 5 insertions(+), 4 deletions(-)
copy monkey-test/{load-trivial-document.yaml => load-png.yaml} (70%)
diff --git a/monkey-test/load-trivial-document.yaml b/monkey-test/load-png.yaml
similarity index 70%
copy from monkey-test/load-trivial-document.yaml
copy to monkey-test/load-png.yaml
index 42ef322..e850e55 100644
--- a/monkey-test/load-trivial-document.yaml
+++ b/monkey-test/load-png.yaml
@@ -1,4 +1,4 @@
-title: load trivial document
+title: load a png file
group: basic
steps:
- action: launch
@@ -7,7 +7,7 @@ steps:
tag: win1
- action: navigate
window: win1
- url: http://test.netsurf-browser.org/html/trivial-document.html
+ url:
https://test.netsurf-browser.org/cgi-bin/image.cgi?format=png&width=40&height=30
- action: block
conditions:
- window: win1
@@ -15,8 +15,7 @@ steps:
- action: plot-check
window: win1
checks:
- - text-contains: Trivial document
- - text-contains: Hello!
+ - bitmap-count: 1
- action: navigate
window: win1
url: resource:netsurf.png
diff --git a/monkey-test/load-trivial-document-https.yaml
b/monkey-test/load-trivial-document-https.yaml
index f862cab..f80dd80 100644
--- a/monkey-test/load-trivial-document-https.yaml
+++ b/monkey-test/load-trivial-document-https.yaml
@@ -15,6 +15,7 @@ steps:
- action: plot-check
window: win1
checks:
+ - bitmap-count: 0
- text-contains: Trivial document
- text-contains: Hello!
- action: navigate
diff --git a/monkey-test/load-trivial-document.yaml
b/monkey-test/load-trivial-document.yaml
index 42ef322..ab6803e 100644
--- a/monkey-test/load-trivial-document.yaml
+++ b/monkey-test/load-trivial-document.yaml
@@ -15,6 +15,7 @@ steps:
- action: plot-check
window: win1
checks:
+ - bitmap-count: 0
- text-contains: Trivial document
- text-contains: Hello!
- action: navigate
--
NetSurf test cases
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org