Files
shelfmark/tests/e2e/platform/env/bypasser-external.env
T

14 lines
708 B
Bash

# Profile: bypasser-external (cluster 1)
# AA is served behind a Cloudflare gate. The app must detect the challenge and
# route through the external bypasser (mock FlareSolverr), which returns solved
# HTML + cf_clearance. Regression surface: #284 #226 #202 #1030 #410 #369 #267.
COMPOSE_PROFILES=bypasser-external
SM_AA_URL=http://cf.mock.test
SM_USE_CF_BYPASS=true
# Must be set explicitly — shelfmark does NOT derive it from EXT_BYPASSER_URL.
# Without it the app falls back to the in-image Chrome bypasser and never calls
# FlareSolverr, so this profile would silently exercise the wrong path.
SM_USING_EXTERNAL_BYPASSER=true
SM_EXT_BYPASSER_URL=http://mock-flaresolverr
E2E_PROFILE=bypasser-external