// Smoke test: app boots without crashing and shows the three // MVP destinations in the navigation rail. // // Pages themselves now make live gRPC calls. We pump only one // frame so they enter the loading state without actually // awaiting the connection (which would fail without a running // hub in CI). 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()); expect(find.text('F∆I Studio'), findsOneWidget); expect(find.text('Modules'), findsWidgets); expect(find.text('Audit'), findsOneWidget); expect(find.text('Approvals'), findsOneWidget); }); }