You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(e2e): drive the full Razorpay subscription checkout (Start→Cards→RBI→OTP) (#203)
* test(e2e): drive the full Razorpay subscription checkout (Start→Cards→RBI→OTP)
The card-entry leg now drives the real TEST-mode subscription flow observed live:
Start Subscription → select Cards (INR checkout defaults to UPI) → keystroke card
entry → Continue → RBI 'Yes, secure my card' mandate modal → OTP 1234 → Continue.
Previously it assumed a one-shot 'Pay' card form and soft-skipped on the
subscription DOM. Still fully resilient (every step best-effort; markup change
soft-fails, never reds the nightly).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* test(e2e): contract-only payment leg accepts the armed real-redirect (capturedShortUrl)
When prod is ARMED (test keys live) a cohort checkout returns a real short_url and
CheckoutPage window.location.assign's immediately; our route() aborts that nav,
which can tear the React tree down before the checkout-redirecting testid
stabilises → the @pr-smoke test timed out as 'stuck' (seen in the 2026-06-07
e2e-prod run). If the route captured a Razorpay URL, that IS the 'razorpay'
success outcome — check capturedShortUrl before falling back to 'stuck'.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments