Gitweb links:
...log
http://git.netsurf-browser.org/netsurf-test.git/shortlog/96f9c6522acec5d12942144f01a2e2535a09b77c
...commit
http://git.netsurf-browser.org/netsurf-test.git/commit/96f9c6522acec5d12942144f01a2e2535a09b77c
...tree
http://git.netsurf-browser.org/netsurf-test.git/tree/96f9c6522acec5d12942144f01a2e2535a09b77c
The branch, master has been updated
via 96f9c6522acec5d12942144f01a2e2535a09b77c (commit)
from b965152fc0f6b012fdc10210ac8ab39e3c63bf9d (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=96f9c6522acec5d12942144f01a2e2535a09b77c
commit 96f9c6522acec5d12942144f01a2e2535a09b77c
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>
add some tests for https based on badssl.com
diff --git a/monkey-test/https-badssl-expired.yaml
b/monkey-test/https-badssl-expired.yaml
new file mode 100644
index 0000000..75cac99
--- /dev/null
+++ b/monkey-test/https-badssl-expired.yaml
@@ -0,0 +1,46 @@
+title: Test https functionality with badssl.com
+group: https
+steps:
+- action: launch
+ language: en
+- action: window-new
+ tag: win1
+- action: navigate
+ window: win1
+ url: https://badssl.com/
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - text-contains: "badssl.com"
+- action: navigate
+ window: win1
+ url: https://expired.badssl.com/
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - text-not-contains: "expired. badssl.com"
+- action: add-cert
+ url: https://expired.badssl.com/
+- action: navigate
+ window: win1
+ url: https://expired.badssl.com/
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - text-contains: "expired. badssl.com"
+- action: window-close
+ window: win1
+- action: quit
+
diff --git a/monkey-test/https-badssl-wronghost.yaml
b/monkey-test/https-badssl-wronghost.yaml
new file mode 100644
index 0000000..6f60438
--- /dev/null
+++ b/monkey-test/https-badssl-wronghost.yaml
@@ -0,0 +1,46 @@
+title: Test https wrong host functionality with badssl.com
+group: https
+steps:
+- action: launch
+ language: en
+- action: window-new
+ tag: win1
+- action: navigate
+ window: win1
+ url: https://badssl.com/
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - text-contains: "badssl.com"
+- action: navigate
+ window: win1
+ url: https://wrong.host.badssl.com/
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - text-not-contains: "wrong.host. badssl.com"
+- action: add-cert
+ url: https://wrong.host.badssl.com/
+- action: navigate
+ window: win1
+ url: https://wrong.host.badssl.com/
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - text-contains: "wrong.host. badssl.com"
+- action: window-close
+ window: win1
+- action: quit
+
diff --git a/monkey-test/index.yaml b/monkey-test/index.yaml
index 882b104..df10dbc 100644
--- a/monkey-test/index.yaml
+++ b/monkey-test/index.yaml
@@ -10,5 +10,8 @@
- group: http-auth
description: Test HTTP 401 authentication
+- group: https
+ description: Test HTTPS handling
+
- group: popular-sites
description: Navigate popular web sites
\ No newline at end of file
diff --git a/monkey-test/popular-sites.yaml b/monkey-test/popular-sites.yaml
index 8635dd2..d7988ca 100644
--- a/monkey-test/popular-sites.yaml
+++ b/monkey-test/popular-sites.yaml
@@ -1167,20 +1167,20 @@ steps:
- action: plot-check
window: win1
checks:
-# - action: timer-restart
-# timer: timer1
-#- action: navigate
-# window: win1
-# url: https://playstation.com/
-# - action: block
-# conditions:
-# - window: win1
-# status: complete
-# - timer: timer1
-# elapsed: 20
-# - action: plot-check
-# window: win1
-# checks:
+- action: timer-restart
+ timer: timer1
+- action: navigate
+ window: win1
+ url: https://playstation.com/
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+ - timer: timer1
+ elapsed: 20
+- action: plot-check
+ window: win1
+ checks:
- action: timer-restart
timer: timer1
- action: navigate
@@ -1251,20 +1251,20 @@ steps:
- action: plot-check
window: win1
checks:
-#- action: timer-restart
-# timer: timer1
-#- action: navigate
-# window: win1
-# url: https://rt.com/
-#- action: block
-# conditions:
-# - window: win1
-# status: complete
-# - timer: timer1
-# elapsed: 20
-#- action: plot-check
-# window: win1
-# checks:
+- action: timer-restart
+ timer: timer1
+- action: navigate
+ window: win1
+ url: https://rt.com/
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+ - timer: timer1
+ elapsed: 20
+- action: plot-check
+ window: win1
+ checks:
- action: timer-restart
timer: timer1
- action: navigate
@@ -2427,20 +2427,20 @@ steps:
- action: plot-check
window: win1
checks:
-- action: timer-restart
- timer: timer1
-- action: navigate
- window: win1
- url: https://gravatar.com/
-- action: block
- conditions:
- - window: win1
- status: complete
- - timer: timer1
- elapsed: 20
-- action: plot-check
- window: win1
- checks:
+#- action: timer-restart
+# timer: timer1
+#- action: navigate
+# window: win1
+# url: https://gravatar.com/
+#- action: block
+# conditions:
+# - window: win1
+# status: complete
+# - timer: timer1
+# elapsed: 20
+#- action: plot-check
+# window: win1
+# checks:
- action: timer-restart
timer: timer1
- action: navigate
-----------------------------------------------------------------------
Summary of changes:
monkey-test/https-badssl-expired.yaml | 46 +++++++++++++++++
monkey-test/https-badssl-wronghost.yaml | 46 +++++++++++++++++
monkey-test/index.yaml | 3 ++
monkey-test/popular-sites.yaml | 84 +++++++++++++++----------------
4 files changed, 137 insertions(+), 42 deletions(-)
create mode 100644 monkey-test/https-badssl-expired.yaml
create mode 100644 monkey-test/https-badssl-wronghost.yaml
diff --git a/monkey-test/https-badssl-expired.yaml
b/monkey-test/https-badssl-expired.yaml
new file mode 100644
index 0000000..75cac99
--- /dev/null
+++ b/monkey-test/https-badssl-expired.yaml
@@ -0,0 +1,46 @@
+title: Test https functionality with badssl.com
+group: https
+steps:
+- action: launch
+ language: en
+- action: window-new
+ tag: win1
+- action: navigate
+ window: win1
+ url: https://badssl.com/
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - text-contains: "badssl.com"
+- action: navigate
+ window: win1
+ url: https://expired.badssl.com/
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - text-not-contains: "expired. badssl.com"
+- action: add-cert
+ url: https://expired.badssl.com/
+- action: navigate
+ window: win1
+ url: https://expired.badssl.com/
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - text-contains: "expired. badssl.com"
+- action: window-close
+ window: win1
+- action: quit
+
diff --git a/monkey-test/https-badssl-wronghost.yaml
b/monkey-test/https-badssl-wronghost.yaml
new file mode 100644
index 0000000..6f60438
--- /dev/null
+++ b/monkey-test/https-badssl-wronghost.yaml
@@ -0,0 +1,46 @@
+title: Test https wrong host functionality with badssl.com
+group: https
+steps:
+- action: launch
+ language: en
+- action: window-new
+ tag: win1
+- action: navigate
+ window: win1
+ url: https://badssl.com/
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - text-contains: "badssl.com"
+- action: navigate
+ window: win1
+ url: https://wrong.host.badssl.com/
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - text-not-contains: "wrong.host. badssl.com"
+- action: add-cert
+ url: https://wrong.host.badssl.com/
+- action: navigate
+ window: win1
+ url: https://wrong.host.badssl.com/
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - text-contains: "wrong.host. badssl.com"
+- action: window-close
+ window: win1
+- action: quit
+
diff --git a/monkey-test/index.yaml b/monkey-test/index.yaml
index 882b104..df10dbc 100644
--- a/monkey-test/index.yaml
+++ b/monkey-test/index.yaml
@@ -10,5 +10,8 @@
- group: http-auth
description: Test HTTP 401 authentication
+- group: https
+ description: Test HTTPS handling
+
- group: popular-sites
description: Navigate popular web sites
\ No newline at end of file
diff --git a/monkey-test/popular-sites.yaml b/monkey-test/popular-sites.yaml
index 8635dd2..d7988ca 100644
--- a/monkey-test/popular-sites.yaml
+++ b/monkey-test/popular-sites.yaml
@@ -1167,20 +1167,20 @@ steps:
- action: plot-check
window: win1
checks:
-# - action: timer-restart
-# timer: timer1
-#- action: navigate
-# window: win1
-# url: https://playstation.com/
-# - action: block
-# conditions:
-# - window: win1
-# status: complete
-# - timer: timer1
-# elapsed: 20
-# - action: plot-check
-# window: win1
-# checks:
+- action: timer-restart
+ timer: timer1
+- action: navigate
+ window: win1
+ url: https://playstation.com/
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+ - timer: timer1
+ elapsed: 20
+- action: plot-check
+ window: win1
+ checks:
- action: timer-restart
timer: timer1
- action: navigate
@@ -1251,20 +1251,20 @@ steps:
- action: plot-check
window: win1
checks:
-#- action: timer-restart
-# timer: timer1
-#- action: navigate
-# window: win1
-# url: https://rt.com/
-#- action: block
-# conditions:
-# - window: win1
-# status: complete
-# - timer: timer1
-# elapsed: 20
-#- action: plot-check
-# window: win1
-# checks:
+- action: timer-restart
+ timer: timer1
+- action: navigate
+ window: win1
+ url: https://rt.com/
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+ - timer: timer1
+ elapsed: 20
+- action: plot-check
+ window: win1
+ checks:
- action: timer-restart
timer: timer1
- action: navigate
@@ -2427,20 +2427,20 @@ steps:
- action: plot-check
window: win1
checks:
-- action: timer-restart
- timer: timer1
-- action: navigate
- window: win1
- url: https://gravatar.com/
-- action: block
- conditions:
- - window: win1
- status: complete
- - timer: timer1
- elapsed: 20
-- action: plot-check
- window: win1
- checks:
+#- action: timer-restart
+# timer: timer1
+#- action: navigate
+# window: win1
+# url: https://gravatar.com/
+#- action: block
+# conditions:
+# - window: win1
+# status: complete
+# - timer: timer1
+# elapsed: 20
+#- action: plot-check
+# window: win1
+# checks:
- action: timer-restart
timer: timer1
- action: navigate
--
NetSurf test cases
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org