feat(frontend): add student identification screen as entry point
This commit is contained in:
@@ -2,10 +2,10 @@ import "package:flutter_test/flutter_test.dart";
|
||||
import "package:eme_frontend/main.dart";
|
||||
|
||||
void main() {
|
||||
testWidgets("L'accueil affiche les actions Emprunter et Restituer", (tester) async {
|
||||
testWidgets("L'écran de démarrage affiche l'identification", (tester) async {
|
||||
await tester.pumpWidget(const EmeApp());
|
||||
|
||||
expect(find.text("EMPRUNTER"), findsOneWidget);
|
||||
expect(find.text("RESTITUER"), findsOneWidget);
|
||||
expect(find.text("Bienvenue sur EME"), findsOneWidget);
|
||||
expect(find.text("Scanner ma carte étudiante"), findsOneWidget);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user