Multi-agent AI laboratory with ASP.NET Core 8.0 backend and Flutter frontend. Implements CQRS architecture, OpenAPI contract-first API design. BACKEND: Agent management, conversations, executions with PostgreSQL + Ollama FRONTEND: Cross-platform UI with strict typing and Result-based error handling Co-Authored-By: Jean-Philippe Brule <jp@svrnty.io>
20 lines
562 B
Dart
20 lines
562 B
Dart
// Svrnty Console Widget Tests
|
|
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
|
|
import 'package:console/main.dart';
|
|
|
|
void main() {
|
|
testWidgets('App launches and displays Console UI', (WidgetTester tester) async {
|
|
// Build our app and trigger a frame.
|
|
await tester.pumpWidget(const MyApp());
|
|
|
|
// Verify that the app title is set correctly.
|
|
expect(find.text('Svrnty'), findsOneWidget);
|
|
expect(find.text('Console'), findsOneWidget);
|
|
|
|
// Verify dashboard is displayed by default.
|
|
expect(find.text('Dashboard'), findsWidgets);
|
|
});
|
|
}
|