Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf-test.git/shortlog/c0bc2968f9b41ee47b327385ced8fc73b3481b17
...commit 
http://git.netsurf-browser.org/netsurf-test.git/commit/c0bc2968f9b41ee47b327385ced8fc73b3481b17
...tree 
http://git.netsurf-browser.org/netsurf-test.git/tree/c0bc2968f9b41ee47b327385ced8fc73b3481b17

The branch, master has been updated
       via  c0bc2968f9b41ee47b327385ced8fc73b3481b17 (commit)
      from  3b634c5eaf5126d6727709779e09430046d25184 (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=c0bc2968f9b41ee47b327385ced8fc73b3481b17
commit c0bc2968f9b41ee47b327385ced8fc73b3481b17
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    tests: Add test for html page with png image.

diff --git a/html/trivial-document-with-png.html 
b/html/trivial-document-with-png.html
new file mode 100644
index 0000000..c7287ec
--- /dev/null
+++ b/html/trivial-document-with-png.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Trivial document with PNG</title>
+ </head>
+ <body>
+  <h1>Trivial document with PNG</h1>
+  <p><img 
src="https://test.netsurf-browser.org/cgi-bin/image.cgi?format=png&width=40&height=30";></p>
+ </body>
+</html>
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


-----------------------------------------------------------------------

Summary of changes:
 html/trivial-document-with-png.html                          |   10 ++++++++++
 ...ial-document.yaml => load-trivial-document-with-png.yaml} |    7 +++----
 2 files changed, 13 insertions(+), 4 deletions(-)
 create mode 100644 html/trivial-document-with-png.html
 copy monkey-test/{load-trivial-document.yaml => 
load-trivial-document-with-png.yaml} (70%)

diff --git a/html/trivial-document-with-png.html 
b/html/trivial-document-with-png.html
new file mode 100644
index 0000000..c7287ec
--- /dev/null
+++ b/html/trivial-document-with-png.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Trivial document with PNG</title>
+ </head>
+ <body>
+  <h1>Trivial document with PNG</h1>
+  <p><img 
src="https://test.netsurf-browser.org/cgi-bin/image.cgi?format=png&width=40&height=30";></p>
+ </body>
+</html>
diff --git a/monkey-test/load-trivial-document.yaml 
b/monkey-test/load-trivial-document-with-png.yaml
similarity index 70%
copy from monkey-test/load-trivial-document.yaml
copy to monkey-test/load-trivial-document-with-png.yaml
index ab6803e..01f24a7 100644
--- a/monkey-test/load-trivial-document.yaml
+++ b/monkey-test/load-trivial-document-with-png.yaml
@@ -1,4 +1,4 @@
-title: load trivial document
+title: load trivial document with png
 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: http://test.netsurf-browser.org/html/trivial-document-with-png.html
 - action: block
   conditions:
   - window: win1
@@ -15,9 +15,8 @@ steps:
 - action: plot-check
   window: win1
   checks:
+  - text-contains: Trivial document with PNG
   - bitmap-count: 0
-  - text-contains: Trivial document
-  - text-contains: Hello!
 - action: navigate
   window: win1
   url: resource:netsurf.png


-- 
NetSurf test cases

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to