Commit 0f259db
fix(e2e): rewrite auth-access-control spec, add missing mock endpoints
- Rewrite auth-access-control.spec.ts to match current app UI
- Add mock endpoints: /teams/me/usage, /payments/credits/balance,
/payments/stripe/currentPlan, /payments/stripe/purchasePlan,
/payments/stripe/portal, /payments/credits/auto-recharge,
/payments/credits/auto-recharge/cards, /payments/cards
- Add remainingUsd, dailyUsage, totalInputTokensThisCycle,
totalOutputTokensThisCycle to mock team usage
- Fix catch-all to return data:null (prevents crashes on missing fields)
- Fix XPath error with "&" in "Billing & Usage" text
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent fc67275 commit 0f259db
2 files changed
Lines changed: 337 additions & 412 deletions
0 commit comments