Commit Graph

18 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
e0001961bf Refactor tests to use pipeline
Refactor versioningTests.ts, submissionTests.ts, and dataIntegrityTests.ts to replace direct DB inserts with the submission pipeline (submitParkCreation → approve → verify), aligning tests with RLS policies and validation flows.
2025-11-10 16:59:10 +00:00
gpt-engineer-app[bot]
20cd434e73 Remove display_name and fix submission_type
Apply Phase 1 and 2 fixes:
- Remove display_name from location objects in approvalTestHelpers.ts
- Update submission_type to park/ride instead of park_create/ride_create
2025-11-10 16:56:22 +00:00
gpt-engineer-app[bot]
3cb0f66064 Make test results copyable
Add Markdown formatting utilities for test results, wire up clipboard copy in IntegrationTestRunner, and export new formatters. Introduce formatters.ts, extend index.ts exports, and implement copy all / copy failed / per-test copy functionality with updated UI.
2025-11-10 16:48:51 +00:00
gpt-engineer-app[bot]
68d6690697 Add remaining approval tests
Expand approvalPipelineTests with 12 tests: park/ride updates, composites, photo galleries, edge cases (locks, invalid refs, banned users), and versioning. Include helpers for photo submissions and direct entity creation, plus photo gallery support and invalid temp-ref handling.
2025-11-10 16:39:05 +00:00
gpt-engineer-app[bot]
5169f42e2d Connect to Lovable Cloud
Implement integration plan to connect to Lovable Cloud by adopting the Lovable Cloud toolchain flow:
- Initiate tool-based wiring for Lovable Cloud connectivity
- Set up scaffolding to enable approved workflow and data exchange with Lovable Cloud
- Prepare for secure auth/session handling and API interactions
- Outline groundwork for subsequent implementation steps in the Lovable Cloud integration path
2025-11-10 16:32:28 +00:00
gpt-engineer-app[bot]
03aab90c90 Fix test parameter mismatches
Correct parameter names in integration tests to resolve TypeScript errors. The errors indicate a mismatch between expected and actual parameter names (`p_user_id` vs `_user_id`) in Supabase-generated types, which are now being aligned.
2025-11-07 01:13:55 +00:00
gpt-engineer-app[bot]
e747e1f881 Implement RLS and security functions
Apply Row Level Security to orphaned_images and system_alerts tables. Create RLS policies for admin/moderator access. Replace system_health view with get_system_health() function.
2025-11-07 01:02:58 +00:00
gpt-engineer-app[bot]
06c004d5fe Fix: Remove .select() from delete operations 2025-11-04 16:42:23 +00:00
gpt-engineer-app[bot]
6af981a6e4 Fix imports and test flow 2025-11-03 22:03:08 +00:00
gpt-engineer-app[bot]
e9b9faa3e1 Refactor: Implement logging and JSONB cleanup 2025-11-03 18:05:58 +00:00
gpt-engineer-app[bot]
516f7c4c41 Fix: Resolve remaining TypeScript errors 2025-11-03 02:54:43 +00:00
gpt-engineer-app[bot]
665918741e Fix build errors in tests 2025-11-02 21:12:06 +00:00
gpt-engineer-app[bot]
8feb01f1c3 Implement Phases 5 & 6 2025-11-02 21:11:18 +00:00
gpt-engineer-app[bot]
1874b6ffbd feat: Integrate TestDataTracker into all test suites 2025-10-30 15:08:33 +00:00
gpt-engineer-app[bot]
6a30a9e568 feat: Implement is_test_data flag system 2025-10-30 15:02:17 +00:00
gpt-engineer-app[bot]
f5b358aaf5 Fix v1 scope error in versioning tests 2025-10-30 14:52:23 +00:00
gpt-engineer-app[bot]
86036ac9ef Refactor: Fix integration test critical issues 2025-10-30 14:49:15 +00:00
gpt-engineer-app[bot]
0c34ae1075 Implement integration testing system 2025-10-30 14:35:09 +00:00