Gitweb links:
...log
http://git.netsurf-browser.org/netsurf-test.git/shortlog/04f1d255d72466724468a876cfff46f73f560a9c
...commit
http://git.netsurf-browser.org/netsurf-test.git/commit/04f1d255d72466724468a876cfff46f73f560a9c
...tree
http://git.netsurf-browser.org/netsurf-test.git/tree/04f1d255d72466724468a876cfff46f73f560a9c
The branch, master has been updated
via 04f1d255d72466724468a876cfff46f73f560a9c (commit)
from c7134f318ae2e95a5db751a77d8c580d58e52dfd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf-test.git/commit/?id=04f1d255d72466724468a876cfff46f73f560a9c
commit 04f1d255d72466724468a876cfff46f73f560a9c
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
test: Add test for HTTP authentication.
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
-----------------------------------------------------------------------
Summary of changes:
monkey-test/authentication-http.yaml | 27 +++++++++++++++++++++++++++
monkey-test/index.yaml | 3 +++
2 files changed, 30 insertions(+)
create mode 100644 monkey-test/authentication-http.yaml
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
--
NetSurf test cases
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org