diff options
Diffstat (limited to 'monkey-test')
-rw-r--r-- | monkey-test/authentication-http.yaml | 27 | ||||
-rw-r--r-- | monkey-test/index.yaml | 3 |
2 files changed, 30 insertions, 0 deletions
diff --git a/monkey-test/authentication-http.yaml b/monkey-test/authentication-http.yaml new file mode 100644 index 0000000..cd15397 --- /dev/null +++ b/monkey-test/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 + diff --git a/monkey-test/index.yaml b/monkey-test/index.yaml index eaf3996..1c19935 100644 --- a/monkey-test/index.yaml +++ b/monkey-test/index.yaml @@ -6,3 +6,6 @@ - group: basic description: Basic tests that fetch from the test server + +- group: http-auth + description: Test HTTP 401 authentication |