diff options
Diffstat (limited to 'ewww.md')
-rw-r--r-- | ewww.md | 45 |
1 files changed, 0 insertions, 45 deletions
@@ -85,23 +85,6 @@ for static content only. Every other method returns an error. # Acceptance criteria -## Minimal smoke test - -~~~scenario -when I create webroot/foo.html with "this is your web page" -given a self-signed certificate as snakeoil.pem, using key snakeoil.key -and a running server using config file minimal.yaml -when I request GET https://example.com/foo.html -then I get status code 200 -~~~ - -~~~{#minimal.yaml .file .yaml} -webroot: webroot -tls_key: snakeoil.key -tls_cert: snakeoil.pem -~~~ - - ## Smoke test ~~~scenario @@ -114,34 +97,6 @@ and header content-type is "text/html" and body is "this is your web page" ~~~ -~~~scenario-disabled -given a self-signed certificate as snakeoil.pem, using key snakeoil.key -and a running server using config file smoke.yaml - -when I request GET http://example.com/ -then I am redirected to https://example.com/ - -when I request GET http://example.com/.well-known/foo -then I get status code 404 - -when I create webroot/foo -and I request GET http://example.com/.well-known/foo -then I get status code 200 -and content-type is "application/octet-stream" - -when I request HEAD http://example.com/.well-known/foo -then I get status code 200 - -when I request GET https://example.com/ -then I get status code 200 - -when I request HEAD https://example.com/ -then I get status code 200 - -when I request GET https://www.example.com/ -then I am redirected to https://example.com/ -~~~ - The following config file does not specify port numbers. The test scaffolding adds randomly chosen port numbers so that the test can run without being root. |