mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 07:43:36 +01:00
Truth-sweep of the living docs against repo ground truth (pnpm 11.25.0, Node 24, Vitest, zod 4, TS 6, Next 16/React 19, self-hosted Supabase with file-based migrations applied on deploy): - npm/npx commands -> pnpm / pnpm exec / pnpm dlx; `run X -- --flag` loses the `--`; package-lock.json -> pnpm-lock.yaml - jest -> Vitest (config names, vi.fn/vi.spyOn, reporter examples, debug commands, framework mentions) - retired mcp_supabase_* examples -> current mechanisms: PostgREST reads, migrations as supabase/migrations/*.sql applied on deploy, box psql for DDL - version claims: TypeScript 5.x -> 6.x, Node 20 -> 24, Next.js 15 -> 16, React 18 -> 19; CI described as Node 24 + pnpm - nonexistent scripts replaced with real ones (test:comprehensive:* -> test:*, diag:supabase -> scripts/diagnostics/*, db:migrate/test: migration -> deploy-applied migrations / migration-replay.yml) - infrastructure.md deploy claim fixed: cd.yml deploys main after green CI (doc said pushes to main do NOT deploy) - zod 4 API: z.record now takes key+value schemas Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn Co-authored-by: Georgy Butaev <41178744+g-but@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
6.2 KiB
6.2 KiB
Manual Testing Checklist
Created: 2026-01-30
Purpose: Step-by-step manual testing guide for comprehensive app testing
Status: Ready for Use
Prerequisites
- ✅ Development server is running (
pnpm run dev) - ✅ Server is accessible at
http://localhost:3000 - ✅ You are logged in to the application
- ✅ Database connection is working
Testing Procedure
Phase 1: Entity List Pages
For each entity type, navigate to its list page and verify:
1. Wallet (/dashboard/wallets)
- Page loads without errors
- Wallets are displayed (if any exist)
- "Create" or "Connect" button is present
- No console errors
- No 404/500 errors
2. Project (/dashboard/projects)
- Page loads without errors
- Projects are displayed correctly
- "Create Project" button works
- Project cards display all information
- No console errors
3. Product (/dashboard/store)
- Page loads without errors
- Products are displayed correctly
- "Create Product" button works
- Product cards show price, images, etc.
- No console errors
4. Service (/dashboard/services)
- Page loads without errors
- Services are displayed correctly
- "Create Service" button works
- Service information is complete
- No console errors
5. Cause (/dashboard/causes)
- Page loads without errors
- Causes are displayed correctly
- "Create Cause" button works
- Cause information is displayed
- No console errors
6. AI Assistant (/dashboard/ai-assistants)
- Page loads without errors
- AI Assistants are displayed
- "Create AI Assistant" button works
- Assistant information is shown
- No console errors
7. Group (/dashboard/groups)
- Page loads without errors
- Groups are displayed correctly
- "Create Group" button works
- Group information is complete
- No console errors
8. Asset (/dashboard/assets)
- Page loads without errors
- Assets are displayed correctly
- "Create Asset" button works
- Asset details are shown
- No console errors
9. Loan (/dashboard/loans)
- Page loads without errors
- Loans are displayed correctly
- "Create Loan" button works
- Loan information is complete
- No console errors
10. Event (/dashboard/events)
- Page loads without errors
- Events are displayed correctly
- "Create Event" button works
- Event details are shown
- No console errors
Phase 2: Entity Creation
For each entity type, test creation:
Test Steps (Repeat for each entity):
- Navigate to entity list page
- Click "Create" button
- Verify create page loads
- Fill in required fields
- Submit form
- Verify entity is created
- Verify redirect to correct page
- Verify entity appears in list
- Test form validation (submit empty form)
- Verify error messages display correctly
Phase 3: Entity Editing
For each entity type, test editing:
Test Steps (Repeat for each entity):
- Navigate to entity detail page
- Click "Edit" button (or navigate to edit page)
- Verify form pre-populates with existing data
- Make changes to fields
- Submit form
- Verify changes are saved
- Verify updated data displays correctly
- Test validation on edit
Phase 4: Entity Deletion
For each entity type, test deletion:
Test Steps (Repeat for each entity):
- Navigate to entity detail page
- Click "Delete" button
- Confirm deletion (if confirmation dialog appears)
- Verify entity is deleted
- Verify redirect to list page
- Verify entity no longer appears in list
Phase 5: Messaging System
Messages Page (/messages)
- Page loads without errors
- All conversations are displayed
- Can click on a conversation
- Messages in conversation are displayed
- Can send a new message
- Message appears immediately
- Can create new conversation
- Private messages work correctly
- No console errors
- Database connection works
Phase 6: Timeline
Timeline Page (/timeline)
- Page loads without errors
- Timeline events are displayed
- Events are in correct chronological order
- Can create new timeline event
- Can edit timeline event
- Can delete timeline event
- Changes persist correctly
- No console errors
- Database connection works
Phase 7: Error Checking
Check for Common Errors:
- No 404 errors on valid routes
- No 500 errors during normal operations
- 404 page displays correctly for invalid routes
- Error boundaries catch and display errors gracefully
- Database connection errors are handled
- Network errors are handled
- Console has no errors (check browser DevTools)
Phase 8: Engineering Principles Compliance
DRY (Don't Repeat Yourself)
- Entity pages use shared components (check code)
- API routes use generic handlers
- No duplicate code patterns
SSOT (Single Source of Truth)
- Entity registry is used (
src/config/entity-registry.ts) - No hardcoded entity names
- Routes come from registry
Separation of Concerns
- API routes are thin
- Components don't contain business logic
- Domain services handle business logic
Type Safety
- Forms validate input
- API endpoints validate requests
- No TypeScript errors
Issues Log
Document any issues found:
Critical Issues (Blocks functionality)
- Issue 1: Description
- Issue 2: Description
Medium Issues (Affects UX but workaround exists)
- Issue 1: Description
- Issue 2: Description
Minor Issues (Cosmetic or edge cases)
- Issue 1: Description
- Issue 2: Description
Test Results Summary
Date: ___
Tester: ___
Environment: Development / Production
Overall Status: ⬜ Pass ⬜ Fail ⬜ Partial
Entities Tested: _ / 10
Features Tested: ⬜ Messaging ⬜ Timeline
Issues Found: _ Critical, _ Medium, _ Minor
Last Updated: 2026-01-30