Skip to content

Commit 6ce63a3

Browse files
fix(e2e): raise live-ui-payment card-entry test timeout to 240s (#205)
The full flow (Razorpay subscription page → checkout iframe → card → RBI mandate modal → 3DS/OTP) + the up-to-90s tier poll exceeds Playwright's 120s default and HARD-times-out before the resilient soft-skip/assert can run — so the e2e-prod suite went red on a timeout instead of either asserting Pro or soft-skipping. test.setTimeout(240_000) gives the happy path room to complete and lets the soft-skip paths execute. (Contract leg + backend webhook-injection test unchanged.) Co-authored-by: Claude <noreply@anthropic.com>
1 parent feca2ba commit 6ce63a3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

e2e/live-ui-payment.spec.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,13 @@ test.describe('LIVE-UI — Razorpay TEST-card payment (free → upgrade → Pro)
179179
browser,
180180
request,
181181
}) => {
182+
// The full flow is multi-step (Razorpay subscription page → checkout iframe →
183+
// card → RBI mandate modal → 3DS/OTP) PLUS up to a 90s tier poll, which
184+
// exceeds Playwright's 120s default and HARD-times-out before the
185+
// soft-skip/assert can run. Give it room so the happy path completes and the
186+
// resilient soft-skip paths (markup undriveable / tier didn't flip) actually
187+
// execute instead of redding the suite on a timeout.
188+
test.setTimeout(240_000)
182189
test.skip(!factoryArmed(), 'E2E_ACCOUNT_TOKEN unset — cannot mint a cohort account.')
183190
test.skip(
184191
!CARD_MODE,

0 commit comments

Comments
 (0)