// Smoke test: app boots, navigation rail shows the three MVP // pages, and the Modules page renders the mocked module list. import 'package:flutter_test/flutter_test.dart'; import 'package:fai_studio/main.dart'; void main() { testWidgets('Studio shell shows the three MVP destinations', (tester) async { await tester.pumpWidget(const StudioApp()); await tester.pump(); expect(find.text('F∆I Studio'), findsOneWidget); expect(find.text('Modules'), findsWidgets); expect(find.text('Audit'), findsOneWidget); expect(find.text('Approvals'), findsOneWidget); }); testWidgets('Modules page lists the mocked modules', (tester) async { await tester.pumpWidget(const StudioApp()); await tester.pump(); expect(find.text('echo'), findsOneWidget); expect(find.text('text-extract'), findsOneWidget); expect(find.text('llm-chat'), findsOneWidget); }); }