first commit
This commit is contained in:
22
unionflow-mobile-apps/test/widget_test.dart
Normal file
22
unionflow-mobile-apps/test/widget_test.dart
Normal file
@@ -0,0 +1,22 @@
|
||||
// Test de base pour UnionFlow
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
void main() {
|
||||
testWidgets('UnionFlow app smoke test', (WidgetTester tester) async {
|
||||
// Test de base pour vérifier que l'app se charge
|
||||
await tester.pumpWidget(
|
||||
const MaterialApp(
|
||||
home: Scaffold(
|
||||
body: Center(
|
||||
child: Text('UnionFlow Test'),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
// Vérifier que le texte est présent
|
||||
expect(find.text('UnionFlow Test'), findsOneWidget);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user