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
Owner
  • Block real Stripe CDN in injectMockStripe() so addInitScript mock persists
  • Replace waitForFunction(signUpWithEmail) with waitForLoadState in free-plan auth tests
- Block real Stripe CDN in injectMockStripe() so addInitScript mock persists - Replace waitForFunction(signUpWithEmail) with waitForLoadState in free-plan auth tests
will.anderson added 1 commit 2026-05-11 15:36:16 +00:00
- 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
will.anderson merged commit d90e8d1668 into dev 2026-05-11 15:36:22 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/neuron-web#84