import 'package:flutter_test/flutter_test.dart'; import 'package:oto_client/src/app/oto_client_app.dart'; void main() { testWidgets('OTO client hosts embeddable console widgets', (tester) async { await tester.pumpWidget(const OtoClientApp()); expect(find.text('Build Operations Overview'), findsOneWidget); expect(find.byTooltip('Agent'), findsOneWidget); await tester.tap(find.byTooltip('Agent')); await tester.pumpAndSettle(); expect(find.textContaining('OTO agent surface is ready'), findsOneWidget); expect(find.textContaining('Runner Registry'), findsOneWidget); }); }