summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2020-05-22 09:16:23 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2020-05-22 09:16:26 +0100
commit36b9b2c020f3be48f7b062607d67ac1a85b46395 (patch)
treed845ecf7832cda399dcbdacebacd05e0aef873b6
parent12062226d90bc3109e66148efbc1ecb6f062be46 (diff)
downloadnetsurf-test-36b9b2c020f3be48f7b062607d67ac1a85b46395.tar.gz
netsurf-test-36b9b2c020f3be48f7b062607d67ac1a85b46395.tar.bz2
short-internet: Use new approach for https-badssl tests
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
-rw-r--r--monkey-test/short-internet/https-badssl-expired.yaml11
-rw-r--r--monkey-test/short-internet/https-badssl-selfsigned.yaml11
-rw-r--r--monkey-test/short-internet/https-badssl-untrustedroot.yaml11
-rw-r--r--monkey-test/short-internet/https-badssl-wronghost.yaml11
4 files changed, 28 insertions, 16 deletions
diff --git a/monkey-test/short-internet/https-badssl-expired.yaml b/monkey-test/short-internet/https-badssl-expired.yaml
index 75cac99..c686511 100644
--- a/monkey-test/short-internet/https-badssl-expired.yaml
+++ b/monkey-test/short-internet/https-badssl-expired.yaml
@@ -27,11 +27,14 @@ steps:
window: win1
checks:
- text-not-contains: "expired. badssl.com"
-- action: add-cert
- url: https://expired.badssl.com/
-- action: navigate
+- action: click
window: win1
- url: https://expired.badssl.com/
+ target:
+ - text: Proceed
+- action: block
+ conditions:
+ - window: win1
+ status: loading
- action: block
conditions:
- window: win1
diff --git a/monkey-test/short-internet/https-badssl-selfsigned.yaml b/monkey-test/short-internet/https-badssl-selfsigned.yaml
index 51938fa..96bb47c 100644
--- a/monkey-test/short-internet/https-badssl-selfsigned.yaml
+++ b/monkey-test/short-internet/https-badssl-selfsigned.yaml
@@ -27,11 +27,14 @@ steps:
window: win1
checks:
- text-not-contains: "self-signed. badssl.com"
-- action: add-cert
- url: https://self-signed.badssl.com/
-- action: navigate
+- action: click
window: win1
- url: https://self-signed.badssl.com/
+ target:
+ - text: Proceed
+- action: block
+ conditions:
+ - window: win1
+ status: loading
- action: block
conditions:
- window: win1
diff --git a/monkey-test/short-internet/https-badssl-untrustedroot.yaml b/monkey-test/short-internet/https-badssl-untrustedroot.yaml
index 6e23d34..9643d88 100644
--- a/monkey-test/short-internet/https-badssl-untrustedroot.yaml
+++ b/monkey-test/short-internet/https-badssl-untrustedroot.yaml
@@ -27,11 +27,14 @@ steps:
window: win1
checks:
- text-not-contains: "untrusted-root. badssl.com"
-- action: add-cert
- url: https://untrusted-root.badssl.com/
-- action: navigate
+- action: click
window: win1
- url: https://untrusted-root.badssl.com/
+ target:
+ - text: Proceed
+- action: block
+ conditions:
+ - window: win1
+ status: loading
- action: block
conditions:
- window: win1
diff --git a/monkey-test/short-internet/https-badssl-wronghost.yaml b/monkey-test/short-internet/https-badssl-wronghost.yaml
index 6f60438..5d99ea8 100644
--- a/monkey-test/short-internet/https-badssl-wronghost.yaml
+++ b/monkey-test/short-internet/https-badssl-wronghost.yaml
@@ -27,11 +27,14 @@ steps:
window: win1
checks:
- text-not-contains: "wrong.host. badssl.com"
-- action: add-cert
- url: https://wrong.host.badssl.com/
-- action: navigate
+- action: click
window: win1
- url: https://wrong.host.badssl.com/
+ target:
+ - text: Proceed
+- action: block
+ conditions:
+ - window: win1
+ status: loading
- action: block
conditions:
- window: win1