User Onboarding Test

Simulate the complete user journey: invite โ†’ checkout โ†’ subscription โ†’ first API call โ†’ billing

Test Parameters
Enter test email and invite code
What This Test Does

1. Claim Invite

Validates the invite code and marks it as claimed by the test email

2. Generate API Key

Creates a test API key for the user to make requests

3. Create Checkout Session

Simulates Stripe checkout creation (Developer Plan)

4. Create Subscription

Registers subscription in database after payment

5. First API Request

Logs a sample routing decision with local inference + cost savings

6. Log Metrics

Records hourly metric snapshot for billing calculation

7. Verify Subscription

Confirms subscription was created and is active