18 lines
555 B
Dart
18 lines
555 B
Dart
import 'package:flutter_test/flutter_test.dart';
|
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|
import 'package:metatron_student_erp/main.dart';
|
|
|
|
void main() {
|
|
testWidgets('App initializes and renders SplashScreen', (WidgetTester tester) async {
|
|
await tester.pumpWidget(
|
|
const ProviderScope(
|
|
child: MetatronStudentApp(),
|
|
),
|
|
);
|
|
|
|
// Initial frame displays splash branding
|
|
expect(find.text('Metatron Student ERP'), findsOneWidget);
|
|
expect(find.text('Education Management System'), findsOneWidget);
|
|
});
|
|
}
|