Fix Stripe CDN mock override and free-plan sync guards in E2E tests #84

Merged
will.anderson merged 1 commits from fix/stage-ci-paths into dev 2026-05-11 15:36:22 +00:00

1 Commits

Author SHA1 Message Date
will.anderson c6fd06b3de Fix Stripe CDN mock override and free-plan sync guards in E2E tests
- Block real Stripe CDN (js.stripe.com) in injectMockStripe() so the
  addInitScript mock is never overwritten by the async-loaded SDK
- Replace waitForFunction(signUpWithEmail) with waitForLoadState in
  all 8 free-plan auth tests; defer scripts run before DOMContentLoaded
  so the function is guaranteed present without polling for it
2026-05-11 09:54:55 -05:00