Skip to content

test(e2e): drive the full Razorpay subscription checkout (Start→Cards→RBI→OTP)#203

Merged
mastermanas805 merged 3 commits into
mainfrom
feat/live-ui-payment-inr-full-drive
Jun 7, 2026
Merged

test(e2e): drive the full Razorpay subscription checkout (Start→Cards→RBI→OTP)#203
mastermanas805 merged 3 commits into
mainfrom
feat/live-ui-payment-inr-full-drive

Conversation

@mastermanas805
Copy link
Copy Markdown
Member

Hardens the live-ui-payment card-entry leg to drive the real TEST-mode subscription checkout flow observed live (2026-06-07): Start Subscription → select Cards (the 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' form and soft-skipped on the subscription DOM. Still fully resilient (every step best-effort; a markup change soft-fails, never reds the nightly).

Part of making the discovered payment path static so it runs in CI on every build (per the plan: MCP to discover → Playwright to codify).

Follow-up (tracked): add the failure branch (bank-sim 'Pay on bank's page' → Success/Failure buttons) + the international (USD, card 5105…+name) variant.

🤖 Generated with Claude Code

…→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>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 7, 2026

size-limit report 📦

Path Size
dist/assets/index-DHXN3rEc.js 162.09 KB (0%)
dist/assets/index-BsJUZYRr.css 6.13 KB (0%)

claude and others added 2 commits June 7, 2026 12:09
…(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>
@mastermanas805 mastermanas805 merged commit c6776c2 into main Jun 7, 2026
19 checks passed
@mastermanas805 mastermanas805 deleted the feat/live-ui-payment-inr-full-drive branch June 7, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants