diff options
-rw-r--r-- | monkey-test/https-badssl-expired.yaml | 46 | ||||
-rw-r--r-- | monkey-test/https-badssl-wronghost.yaml | 46 | ||||
-rw-r--r-- | monkey-test/index.yaml | 3 | ||||
-rw-r--r-- | monkey-test/popular-sites.yaml | 84 |
4 files changed, 137 insertions, 42 deletions
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 |