mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-04 22:40:14 +00:00
Unify Playwright route base selection
This commit is contained in:
parent
8d97bc3995
commit
259285ad40
8 changed files with 84 additions and 27 deletions
|
|
@ -451,6 +451,11 @@ browser helper must treat `PLAYWRIGHT_BASE_URL` as the browser truth and leave
|
|||
`PULSE_BASE_URL` available for backend-oriented health checks and setup
|
||||
traffic, so split browser/backend proof can target fresh frontend code without
|
||||
rewiring the API-side contract.
|
||||
Playwright-driven public/commercial specs that support scenario-specific
|
||||
endpoint overrides such as `PULSE_CLOUD_BASE_URL` or
|
||||
`PULSE_COMMERCIAL_BASE_URL` must layer those values through that same shared
|
||||
route helper instead of duplicating `PLAYWRIGHT_BASE_URL` versus
|
||||
`PULSE_BASE_URL` precedence locally.
|
||||
That defaulting rule must live in one shared integration helper rather than
|
||||
being duplicated between config and helper files, so future browser-target
|
||||
changes cannot leave Playwright navigation and browser/API helper calls
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue