Skip to content

22 — Production manual QA (tier boundaries)

Version: 1.6
Last Updated: 2026-06-26 11:45:12
Environment: https://app.lyncareos.com (production SPA + VPS API)

Manual checks after deploy or billing/module changes. Complements automated CI (backend/tests/, frontend Vitest). Tier definitions: backend/billing/tiers.json, matrix docs/05 - BILLING AND COMMERCE/23-SUBSCRIPTION-TIER-ENTITLEMENTS-MATRIX.md.

Release path (before this checklist): Dev testing → Docker UAT gate → VPS deploy — see 20-PRODUCTION-DEPLOYMENT-GUIDE §2a and push-to-production.ps1 (agent-run). This doc is the post-VPS manual pass on app.lyncareos.com.


ItemDetail
Promotion completeAgent ran push-to-production.ps1 (or deploy.ps1 after Docker UAT passed); VPS migration-audit.ps1 -Target Vps → PENDING: none
Three test tenantsOne subscribed Essential, one Family (professional), one Complete — each with at least one patient and admin login
BrowserLogged-in session on production https://app.lyncareos.com; DevTools Network for API status codes
Post-deployImage tag in 04-ROADMAP matches VPS APP_IMAGE

Verify tier before testing: More → Subscriptions, or GET /api/billing/my-tier → current_tier.slug is essential | professional | complete.


#StepPass criteria
S1Open / while logged inHome loads; patient selector works
S2Open /login logged outRedirect or login form; no 500
S3Lazy chunksNetwork 200 for route JS (e.g. Subscriptions-*.js, Observations-*.js)
S4POST /api/auth/refresh200 with valid session cookie
S5Sign outReturns to login; protected routes redirect

Reference tenant (2026-06-02): admin 99plan, patient Tim Renbrook, tenant 8 — my-tier.slug = professional.

RouteWhat to verify
/Home, log dose, schedule widgets
/calendarMonth grid, add shift CTA
/sleepWeek grid, edit
/vitalsPulse / SpO₂ / temp tiles
/medication-scheduleExpand a time slot → scheduled medicine circle shows dose number (e.g. 1, 2.5); after save from dose sheet, number persists without blank circle
/scriptsCard shows Doses available, Last counted (no “doses logged” line) when a physical audit exists, unit (e.g. ml), and countdown bar (green → amber within 5 of threshold → red). Exhausted script with stock still shows doses on hand (not forced to 0) plus “No pharmacy repeats left” helper. Edit → set doses available (e.g. 20) → Save → card shows 20 on hand (not 19). Manual precedence: high lifetime dose log but carer sets on-hand 5 → card shows 5. Record fill: 0 on hand, dose log 7, collect 28 → shows 28 (not 21). Admin: Home/Medications stock count needed banner when on hand is 0 and dose log > 0 (not when both are zero) — tap → stock edit. Member: no banner; Log Dose guidance instead. Requires V112–V114 on VPS.
/logBefore any dose: 0 on hand + 0 dose log → no guidance panel. After dose at 0 on hand: amber panel on form and on Dose recorded success; admin link to stock edit. Record dose never blocked. Member: ask administrator text.
Care alerts (bell)Admin: after dose at 0 on hand, open bell → stock-count row. Tap → edit with How many doses do you have available? highlighted. Save a positive count → row disappears without Mark done. Open edit and close without save → row stays. Mark done only when handled without updating stock. No “Doses logged” on card. Member: no bell row. Shopping (Complete): add several items → one shopping alert with live count (e.g. “4 items on the shopping list.”); add another → same row updates; purchase all → row disappears without Mark done.
/contactsKey contacts list or empty state
/observationsObservation types for active patient
/help-requestsBoard tabs; list API 200
/historyFilters; subtitle mentions edit (Family has prescription_management)
/analyticsHeatmap + by-reason; medicine filter not locked
/moreFamily help, Daily observations visible; no Care situation profiles row
/subscriptionsPlan Family; section order: Your plan → Module access → Upgrade → Unlock → Care Profiles → Coming soon; no Condition Template Packs in module grid
RoutePass criteria
/painUpgrade plan CTA; Pain & Stats inactive on Subscriptions
/shoppingUpgrade plan CTA; Shopping inactive on Subscriptions
RequestExpected
GET /api/billing/my-tierslug: professional, limits max_care_recipients: 2
GET /api/patients/P/help-requests?status=open200
GET /api/patients/P/observations/types200
GET /api/analytics/heatmap?year=Y&month=M&patient_id=P200 (not 500)
GET /api/help-requests/types200 (verified deploy-20260602-1110)
LimitValueHow to test
People in care2Add 2nd person → OK; 3rd → upgrade prompt
Carers3Invite until cap
Medicines / reasonsUnlimitedNo 5-item cap

Post-deploy verification (deploy-20260602-1110)

Section titled “Post-deploy verification (deploy-20260602-1110)”
  • Help request type picker: GET /api/help-requests/types → 200; modal shows category grid (Children & school, Direct care, Errands, Home, Wellbeing).
Terminal window
.\scripts\seed-dev-essential-tenant.ps1 # lyncareos_dev only
.\dev-start.ps1
# Login: essentialqa / EssentialQA1! at http://localhost:5173

Run on a tenant where Subscriptions shows Essential and my-tier.slug = essential.

RoutePass criteria
/, /calendarCore care coordination
/medication-schedule, log dose from homeDispensing
/admin/patientsAdd Person → archetype step when condition_templates enabled
/moreNo Family help or Daily observations rows
/subscriptionsEssential plan; upgrade to Family/Complete
Route / navPass criteria
/sleep, /vitalsModuleGate or nav hidden (no prescription_management)
/scriptsGated
/pain, /shoppingComplete upgrade
/help-requests, /observationsNot in More; direct URL → gate
/contactsNot in More (Family+)
LimitValueHow to test
People in care12nd patient → upgrade
Carers23rd invite → upgrade
Medicines56th in Settings → upgrade
Reason types56th → upgrade
History editRead-onlyLock icon on edit; no delete

RoutePass criteria
/painFull Pain & Stats UI
/shoppingShopping lists
/subscriptionsComplete plan; Pain & Shopping Active
All Family routes aboveStill work

Optional: modules marked “Coming soon” on Subscriptions stay non-navigable.


ModuleRoute / surfaceTier
Family help/help-requestsFamily+
Custom observations/observationsFamily+
Condition templates (Care Profiles)/subscriptions — Add a Care Profile; apply on /admin/patientsAll tiers (Essential included)
Legacy/care-archetypesRedirect → /subscriptions

Regression matrix (after each production deploy)

Section titled “Regression matrix (after each production deploy)”

API sample

help-requests/types

analytics heatmap

One tier session

my-tier slug

Module gates

Limits spot-check

Smoke

Auth refresh

Home

PriorityChecks
P0S1–S5, help-requests/types 200 (Family), analytics with patient_id 200
P1Full Family or Essential set per changed area
P2Complete pain/shopping; mobile viewport on More + one clinical page

Copy per run:

Date:
Deploy image:
Tester account / tier:
Patient:
| ID | Result (P/F) | Notes |
|----|--------------|-------|
| F-01 | | |