Gitweb links:

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

The branch, master has been updated
       via  f12c073696878082e517c688c1cad12b54afe910 (commit)
      from  2356f55cfa542b9583d869ef745bf585f6addc46 (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=f12c073696878082e517c688c1cad12b54afe910
commit f12c073696878082e517c688c1cad12b54afe910
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>

    monkey-test: Add cookies test
    
    Signed-off-by: Daniel Silverstone <[email protected]>

diff --git a/monkey-test/cookies.yaml b/monkey-test/cookies.yaml
new file mode 100644
index 0000000..76bf721
--- /dev/null
+++ b/monkey-test/cookies.yaml
@@ -0,0 +1,65 @@
+title: Test ecmascript cookies behaviour
+group: ecmascript
+steps:
+- action: launch
+  language: en
+  options:
+  - enable_javascript=1
+- action: window-new
+  tag: win1
+
+# Ensure we can load the page properly in the first place
+- action: navigate
+  window: win1
+  url: https://test.netsurf-browser.org/cgi-bin/cookies.cgi
+- action: block
+  conditions:
+  - window: win1
+    status: complete
+- action: plot-check
+  window: win1
+  checks:
+  - text-contains: "JSON: 0"
+
+
+# Now check that refreshing has incremented the counter
+- action: reload
+  window: win1
+- action: block
+  conditions:
+  - window: win1
+    status: complete
+- action: plot-check
+  window: win1
+  checks:
+  - text-contains: "JSON: 1"
+
+# Now check that refreshing has incremented the counter
+- action: reload
+  window: win1
+- action: block
+  conditions:
+  - window: win1
+    status: complete
+- action: plot-check
+  window: win1
+  checks:
+  - text-contains: "JSON: 2"
+
+# Now check that using http rather than https resets the counter
+- action: navigate
+  window: win1
+  url: http://test.netsurf-browser.org/cgi-bin/cookies.cgi
+- action: block
+  conditions:
+  - window: win1
+    status: complete
+- action: plot-check
+  window: win1
+  checks:
+  - text-contains: "JSON: 0"
+
+- action: window-close
+  window: win1
+- action: quit
+


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

Summary of changes:
 monkey-test/cookies.yaml |   65 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
 create mode 100644 monkey-test/cookies.yaml

diff --git a/monkey-test/cookies.yaml b/monkey-test/cookies.yaml
new file mode 100644
index 0000000..76bf721
--- /dev/null
+++ b/monkey-test/cookies.yaml
@@ -0,0 +1,65 @@
+title: Test ecmascript cookies behaviour
+group: ecmascript
+steps:
+- action: launch
+  language: en
+  options:
+  - enable_javascript=1
+- action: window-new
+  tag: win1
+
+# Ensure we can load the page properly in the first place
+- action: navigate
+  window: win1
+  url: https://test.netsurf-browser.org/cgi-bin/cookies.cgi
+- action: block
+  conditions:
+  - window: win1
+    status: complete
+- action: plot-check
+  window: win1
+  checks:
+  - text-contains: "JSON: 0"
+
+
+# Now check that refreshing has incremented the counter
+- action: reload
+  window: win1
+- action: block
+  conditions:
+  - window: win1
+    status: complete
+- action: plot-check
+  window: win1
+  checks:
+  - text-contains: "JSON: 1"
+
+# Now check that refreshing has incremented the counter
+- action: reload
+  window: win1
+- action: block
+  conditions:
+  - window: win1
+    status: complete
+- action: plot-check
+  window: win1
+  checks:
+  - text-contains: "JSON: 2"
+
+# Now check that using http rather than https resets the counter
+- action: navigate
+  window: win1
+  url: http://test.netsurf-browser.org/cgi-bin/cookies.cgi
+- action: block
+  conditions:
+  - window: win1
+    status: complete
+- action: plot-check
+  window: win1
+  checks:
+  - text-contains: "JSON: 0"
+
+- 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

Reply via email to