Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/7cc1f1bfc09653479ae8bb0db0f2ce5a7d19bd0a
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/7cc1f1bfc09653479ae8bb0db0f2ce5a7d19bd0a
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/7cc1f1bfc09653479ae8bb0db0f2ce5a7d19bd0a

The branch, master has been updated
       via  7cc1f1bfc09653479ae8bb0db0f2ce5a7d19bd0a (commit)
      from  90e4976800c18d16c66a72c1d0c23b73ce59d7a2 (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.git/commit/?id=7cc1f1bfc09653479ae8bb0db0f2ce5a7d19bd0a
commit 7cc1f1bfc09653479ae8bb0db0f2ce5a7d19bd0a
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    Monkey tests: Add more example test plans.

diff --git a/test/monkey-tests/resource-scheme.yaml 
b/test/monkey-tests/resource-scheme.yaml
new file mode 100644
index 0000000..58b0f5e
--- /dev/null
+++ b/test/monkey-tests/resource-scheme.yaml
@@ -0,0 +1,30 @@
+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
+  - 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
+  - bitmap-count: 1
+- action: window-close
+  - window: win1
+- action: quit
+
diff --git a/test/monkey-tests/simultanious-fetches.yaml 
b/test/monkey-tests/simultanious-fetches.yaml
new file mode 100644
index 0000000..513b788
--- /dev/null
+++ b/test/monkey-tests/simultanious-fetches.yaml
@@ -0,0 +1,35 @@
+title: simultanious page fetches
+group: real-world
+steps:
+- action: launch
+  language: en
+- action: window-new
+  tag: win1
+- action: window-new
+  tag: win2
+- action: window-new
+  tag: win3
+- action: window-new
+  tag: win4
+- action: navigate
+  window: win1
+  url: http://www.bbc.co.uk/news
+- action: navigate
+  window: win2
+  url: http://www.amazon.co.uk/
+- action: navigate
+  window: win3
+  url: http://www.theregister.co.uk/
+- action: navigate
+  window: win4
+  url: http://www.arstechnica.co.uk/
+- action: block
+  conditions:
+  - window: *all*
+    status: complete
+- action: window-close
+  window: win1
+- action: window-close
+  window: win2
+- action: quit
+
diff --git a/test/monkey-tests/start-stop.yaml 
b/test/monkey-tests/start-stop.yaml
new file mode 100644
index 0000000..68df473
--- /dev/null
+++ b/test/monkey-tests/start-stop.yaml
@@ -0,0 +1,6 @@
+title: start and stop browser
+group: basic
+steps:
+- action: launch
+- action: quit
+
diff --git a/test/monkey-tests/start-stop=no-js.yaml 
b/test/monkey-tests/start-stop=no-js.yaml
new file mode 100644
index 0000000..0a681cf
--- /dev/null
+++ b/test/monkey-tests/start-stop=no-js.yaml
@@ -0,0 +1,8 @@
+title: start and stop browser without JS
+group: basic
+steps:
+- action: launch
+  args:
+  - enable_javascript=0
+- action: quit
+


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

Summary of changes:
 test/monkey-tests/resource-scheme.yaml      |   30 +++++++++++++++++++++++
 test/monkey-tests/simultanious-fetches.yaml |   35 +++++++++++++++++++++++++++
 test/monkey-tests/start-stop.yaml           |    6 +++++
 test/monkey-tests/start-stop=no-js.yaml     |    8 ++++++
 4 files changed, 79 insertions(+)
 create mode 100644 test/monkey-tests/resource-scheme.yaml
 create mode 100644 test/monkey-tests/simultanious-fetches.yaml
 create mode 100644 test/monkey-tests/start-stop.yaml
 create mode 100644 test/monkey-tests/start-stop=no-js.yaml

diff --git a/test/monkey-tests/resource-scheme.yaml 
b/test/monkey-tests/resource-scheme.yaml
new file mode 100644
index 0000000..58b0f5e
--- /dev/null
+++ b/test/monkey-tests/resource-scheme.yaml
@@ -0,0 +1,30 @@
+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
+  - 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
+  - bitmap-count: 1
+- action: window-close
+  - window: win1
+- action: quit
+
diff --git a/test/monkey-tests/simultanious-fetches.yaml 
b/test/monkey-tests/simultanious-fetches.yaml
new file mode 100644
index 0000000..513b788
--- /dev/null
+++ b/test/monkey-tests/simultanious-fetches.yaml
@@ -0,0 +1,35 @@
+title: simultanious page fetches
+group: real-world
+steps:
+- action: launch
+  language: en
+- action: window-new
+  tag: win1
+- action: window-new
+  tag: win2
+- action: window-new
+  tag: win3
+- action: window-new
+  tag: win4
+- action: navigate
+  window: win1
+  url: http://www.bbc.co.uk/news
+- action: navigate
+  window: win2
+  url: http://www.amazon.co.uk/
+- action: navigate
+  window: win3
+  url: http://www.theregister.co.uk/
+- action: navigate
+  window: win4
+  url: http://www.arstechnica.co.uk/
+- action: block
+  conditions:
+  - window: *all*
+    status: complete
+- action: window-close
+  window: win1
+- action: window-close
+  window: win2
+- action: quit
+
diff --git a/test/monkey-tests/start-stop.yaml 
b/test/monkey-tests/start-stop.yaml
new file mode 100644
index 0000000..68df473
--- /dev/null
+++ b/test/monkey-tests/start-stop.yaml
@@ -0,0 +1,6 @@
+title: start and stop browser
+group: basic
+steps:
+- action: launch
+- action: quit
+
diff --git a/test/monkey-tests/start-stop=no-js.yaml 
b/test/monkey-tests/start-stop=no-js.yaml
new file mode 100644
index 0000000..0a681cf
--- /dev/null
+++ b/test/monkey-tests/start-stop=no-js.yaml
@@ -0,0 +1,8 @@
+title: start and stop browser without JS
+group: basic
+steps:
+- action: launch
+  args:
+  - enable_javascript=0
+- action: quit
+


-- 
NetSurf Browser

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

Reply via email to