summaryrefslogtreecommitdiff
path: root/monkey-test/ns-infrastructure/authentication-http.yaml
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-11-30 18:33:29 +0000
committerVincent Sanders <vince@kyllikki.org>2019-11-30 18:33:29 +0000
commit9ef04bd727252aee9dc6e074303f5a2aefb893e3 (patch)
treefa36b00b535dc8e80d5f6cb3182d1f8be6b10769 /monkey-test/ns-infrastructure/authentication-http.yaml
parente694e5f3723e3c45103f0e536d22cc613cf3b41b (diff)
downloadnetsurf-test-9ef04bd727252aee9dc6e074303f5a2aefb893e3.tar.gz
netsurf-test-9ef04bd727252aee9dc6e074303f5a2aefb893e3.tar.bz2
change how divisions are implemented
This allows tests to be limited to appear only in a single division reducing how many test files must be parsed for all divisions.
Diffstat (limited to 'monkey-test/ns-infrastructure/authentication-http.yaml')
-rw-r--r--monkey-test/ns-infrastructure/authentication-http.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/monkey-test/ns-infrastructure/authentication-http.yaml b/monkey-test/ns-infrastructure/authentication-http.yaml
new file mode 100644
index 0000000..cd15397
--- /dev/null
+++ b/monkey-test/ns-infrastructure/authentication-http.yaml
@@ -0,0 +1,27 @@
+title: Test the 401 login functionality
+group: http-auth
+steps:
+- action: launch
+ language: en
+- action: window-new
+ tag: win1
+- action: add-auth
+ url: http://test.netsurf-browser.org/cgi-bin/auth.cgi?user=foo&pass=bar
+ realm: Fake Realm
+ username: foo
+ password: bar
+- action: navigate
+ window: win1
+ url: http://test.netsurf-browser.org/cgi-bin/auth.cgi?user=foo&pass=bar
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ window: win1
+ checks:
+ - text-contains: "result=GOOD"
+- action: window-close
+ window: win1
+- action: quit
+