// Smoke test: app boots without crashing and shows the four // MVP destinations in the sidebar. import 'package:flutter_test/flutter_test.dart'; import 'package:fai_studio/data/hub.dart'; import 'package:fai_studio/main.dart'; void main() { testWidgets('Studio shell shows the five destinations', (tester) async { await tester.pumpWidget( const StudioApp(initialThemeMode: ThemeModeValue.system), ); expect(find.text('F∆I Studio'), findsOneWidget); expect(find.text('Doctor'), findsWidgets); expect(find.text('Modules'), findsWidgets); expect(find.text('Flows'), findsOneWidget); expect(find.text('Audit'), findsOneWidget); expect(find.text('Approvals'), findsOneWidget); }); }