// 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);
  });
}
