062 — should add more seats to monthly subscription while yearly is also active¶
Description¶
Verifies that when both Monthly and Yearly subscriptions are active, the Customer Portal seat-upgrade flow correctly scopes to the Monthly plan and the Yearly plan is left untouched.
Preconditions¶
- Freshly registered tenant signed in as the owner on the dev environment.
- Tenant is on the 14-day free trial.
- Stripe sandbox customer + test clock exist for the tenant.
Steps¶
- Open the Billing page. Expected: 14-day trial summary visible.
- Buy the Monthly plan (1 seat) and the Yearly plan (1 seat) via Hosted Checkout.
- Expected: Monthly subscription shows 1 seat at $16.00 with next-payment date from Stripe; Yearly subscription shows 1 seat at ~$142.77 with next-payment date from Stripe; aggregate usage is 1 of 2.
- Open the Customer Portal and grow the Monthly plan to 3 seats.
- Expected: Monthly subscription now shows 3 seats at $48.00 with updated period-end date from Stripe; Yearly subscription is unchanged at 1 seat / ~$142.77; aggregate usage is 1 of 4 seats. Stripe shows 3 invoices for this customer.
Related¶
- Spec:
playwright/tests/integration/billing.spec.ts(line 429)
Related¶
- Spec:
playwright/tests/integration/billing.spec.ts(line 429)