dev1/backend/tests/COMPONENTS.md

38 lines
1.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# AptivaAI Test Components (Curated, Active Only)
> Source of truth for what we **do test**. Keep this file tight and current.
> Add a component/feature here **before** adding tests.
## ✅ Active Components
### A. Auth & Profile (server1)
- **Feature A1**: SignUp → SignIn (cookie) → User Profile (JIT-PII: no `id`)
- Test: `backend/tests/auth_signup_signin.mjs`
### B. Support & Messaging (server3)
- **Feature B1**: `/api/support` auth, dedupe, rate limits, negatives (invalid category, short message)
- Test: `backend/tests/support_limits.mjs`
### C. Subscription & Paywall (server3)
- **Feature C1**: `/api/premium/subscription/status` returns `{ is_premium:false, is_pro_premium:false }` for new user; unauth → 401
- Test: `backend/tests/subscription_status.mjs`
---
## 🟨 Pending Confirmation (do **not** test until moved above)
- Premium Onboarding draft save/load (server3)
- Career data & caching (server2) salary & O*NET warm-cache
- Loan Repayment & ROI (free)
- Milestones & AI suggestions (server3)
- Financial Projection service (frontend utils server3)
- College Mode (premium)
- Reminders & Twilio (server3)
- AI chat risk analysis consumption (server3)
- Nginx/Secrets/CSP checks
- DB connectivity (MySQL SSL) & SQLite reads
- Caching & file safety
- Logging (rid present, no tokens/PII)
> Move items up only after you confirm theyre current and in scope.