Auth & Payment Flow Tests

End-to-end test runner for registration, login, Stripe upgrade simulation, quota enforcement, and cleanup. Runs against the live preview backend.

1.Seed mock user (register via BetterAuth)IDLE
2.Sign in with test credentialsIDLE
3.Verify session & fetch subscription (free plan)IDLE
4.Simulate Stripe upgrade → Pro planIDLE
5.Verify subscription updated (Pro plan)IDLE
6.Run a grant search (should succeed)IDLE
7.Verify search quota incrementedIDLE
8.Downgrade back to free planIDLE
9.Verify free plan limits restoredIDLE
10.Reset — delete test user & dataIDLE

Manual controls

Run individual steps independently — useful for debugging a specific flow.

Test credentials

Email[email protected]PasswordTestPass123!Login URL/loginDashboard/dashboardBilling/dashboard/billing