Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

tests(e2e): remove external download dependency in security basic

Yash Jadhavb7e6e491e2ea
diff --git a/tests/e2e/docker-compose.yml b/tests/e2e/docker-compose.yml
index 49c5c412..20d06a21 100644
--- a/tests/e2e/docker-compose.yml
+++ b/tests/e2e/docker-compose.yml
@@ -23,6 +23,7 @@ services:
fixtures:
image: nginx:alpine
volumes:
+ # Serves static test assets for deterministic, offline-safe E2E downloads.
- ./fixtures:/usr/share/nginx/html:ro
healthcheck:
test: ["CMD-SHELL", "wget -q -O /dev/null http://localhost:80/"]
diff --git a/tests/e2e/scenarios-api/security-basic.sh b/tests/e2e/scenarios-api/security-basic.sh
index 3ca73cbf..57e2c7b9 100644
--- a/tests/e2e/scenarios-api/security-basic.sh
+++ b/tests/e2e/scenarios-api/security-basic.sh
@@ -14,7 +14,7 @@ end_test
start_test "security: download ALLOWED when enabled"
-pt_get "/download?url=https://httpbin.org/robots.txt"
+pt_get "/download?url=${FIXTURES_URL}/sample.txt"
assert_ok "download allowed"
end_test