PromucFlow_constructor/deploy/docker/route-tests/common/index-html-response.hurl
Shrikant Sharat Kandula 0a9f9b9043
test: Fix Caddy route tests with custom Caddy (#32675)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **Refactor**
- Updated base Docker image and installation processes for tools within
the Docker environment.
- **Chores**
- Modified scripts to enhance file handling and environment variable
configurations.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-04-18 14:03:10 +05:30

48 lines
1.2 KiB
Plaintext

GET http://localhost
HTTP 200
Content-Type: text/html; charset=utf-8
Content-Security-Policy: frame-ancestors {{frame_ancestors}}
[Asserts]
header "Server" not exists
body == "actual index.html body"
GET http://127.0.0.1
HTTP 200
Content-Type: text/html; charset=utf-8
Content-Security-Policy: frame-ancestors {{frame_ancestors}}
[Asserts]
header "Server" not exists
body == "actual index.html body"
GET http://local.com
HTTP 200
Content-Type: text/html; charset=utf-8
Content-Security-Policy: frame-ancestors {{frame_ancestors}}
[Asserts]
header "Server" not exists
body == "actual index.html body"
GET http://localhost/some/non/handled/path
HTTP 200
Content-Type: text/html; charset=utf-8
Content-Security-Policy: frame-ancestors {{frame_ancestors}}
[Asserts]
header "Server" not exists
body == "actual index.html body"
GET http://127.0.0.1/some/non/handled/path
HTTP 200
Content-Type: text/html; charset=utf-8
Content-Security-Policy: frame-ancestors {{frame_ancestors}}
[Asserts]
header "Server" not exists
body == "actual index.html body"
GET http://local.com/some/non/handled/path
HTTP 200
Content-Type: text/html; charset=utf-8
Content-Security-Policy: frame-ancestors {{frame_ancestors}}
[Asserts]
header "Server" not exists
body == "actual index.html body"