diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-06-05 20:59:39 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-06-05 20:59:39 +0100 |
commit | 96f9c6522acec5d12942144f01a2e2535a09b77c (patch) | |
tree | 45b54479021d83c2ec2207468865cda2d2707076 /monkey-test/https-badssl-wronghost.yaml | |
parent | b965152fc0f6b012fdc10210ac8ab39e3c63bf9d (diff) | |
download | netsurf-test-96f9c6522acec5d12942144f01a2e2535a09b77c.tar.gz netsurf-test-96f9c6522acec5d12942144f01a2e2535a09b77c.tar.bz2 |
add some tests for https based on badssl.com
Diffstat (limited to 'monkey-test/https-badssl-wronghost.yaml')
-rw-r--r-- | monkey-test/https-badssl-wronghost.yaml | 46 |
1 files changed, 46 insertions, 0 deletions
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 + |