summaryrefslogtreecommitdiff
path: root/test/monkey-tests/sslcert.yaml
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-06-05 20:57:55 +0100
committerVincent Sanders <vince@kyllikki.org>2019-06-05 20:58:40 +0100
commit27ee92c8721f982b79432689dbcb5439bb4fadc2 (patch)
tree492577e1e6525278fb0a99d1ef4e2303ee6c485d /test/monkey-tests/sslcert.yaml
parent3d80e825e1c77ece19c21ed1cc568049856a44de (diff)
downloadnetsurf-27ee92c8721f982b79432689dbcb5439bb4fadc2.tar.gz
netsurf-27ee92c8721f982b79432689dbcb5439bb4fadc2.tar.bz2
extend the monkey test tooling to cope with ssl certificate windows
Diffstat (limited to 'test/monkey-tests/sslcert.yaml')
-rw-r--r--test/monkey-tests/sslcert.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/test/monkey-tests/sslcert.yaml b/test/monkey-tests/sslcert.yaml
new file mode 100644
index 000000000..96df2d651
--- /dev/null
+++ b/test/monkey-tests/sslcert.yaml
@@ -0,0 +1,33 @@
+title: Test the SSL certificate error functionality
+group: real-world
+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: window-close
+ window: win1
+- action: quit
+