diff options
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 + |