From ad31be1622ad9a17b10a27d30793d3c49a64adeb Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 16:44:31 +0000 Subject: [PATCH] Combine Testing UIs Merge Testing and Integration Tests into a single Testing control center in AdminSettings. Remove the separate integration-tests tab, and update the Testing tab to render both Test Data Generator and Integration Test Runner together, with appropriate headers and icons (Database and TestTube). Add Database to imports. --- src/pages/AdminSettings.tsx | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/src/pages/AdminSettings.tsx b/src/pages/AdminSettings.tsx index ef3efc26..0409d3d4 100644 --- a/src/pages/AdminSettings.tsx +++ b/src/pages/AdminSettings.tsx @@ -14,7 +14,7 @@ import { useAdminSettings } from '@/hooks/useAdminSettings'; import { NovuMigrationUtility } from '@/components/admin/NovuMigrationUtility'; import { TestDataGenerator } from '@/components/admin/TestDataGenerator'; import { IntegrationTestRunner } from '@/components/admin/IntegrationTestRunner'; -import { Loader2, Save, Clock, Users, Bell, Shield, Settings, Trash2, Plug, AlertTriangle, Lock, TestTube, RefreshCw, Info, AlertCircle } from 'lucide-react'; +import { Loader2, Save, Clock, Users, Bell, Shield, Settings, Trash2, Plug, AlertTriangle, Lock, TestTube, RefreshCw, Info, AlertCircle, Database } from 'lucide-react'; import { useDocumentTitle } from '@/hooks/useDocumentTitle'; export default function AdminSettings() { @@ -772,12 +772,8 @@ export default function AdminSettings() { Integrations - - Testing - - - Integration Tests + Testing @@ -971,11 +967,31 @@ export default function AdminSettings() { - - +
+ {/* Test Data Generator Section */} +
+

+ + Test Data Generator +

+

+ Generate realistic test data for parks, rides, companies, and submissions. +

+ +
- - + {/* Integration Test Runner Section */} +
+

+ + Integration Test Runner +

+

+ Run automated integration tests against your approval pipeline, moderation system, and data integrity checks. +

+ +
+