rework ui
This commit is contained in:
@@ -36,7 +36,7 @@ void main() {
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
// Verify the login title is displayed (German localization)
|
||||
expect(find.text('BILDERUPLOAD'), findsOneWidget);
|
||||
expect(find.byKey(const Key('login_title')), findsOneWidget);
|
||||
});
|
||||
|
||||
testWidgets('displays username and password fields', (WidgetTester tester) async {
|
||||
@@ -162,7 +162,7 @@ void main() {
|
||||
when(mockLoginController.authenticate('testuser', 'wrongpassword'))
|
||||
.thenAnswer((_) async => (jwtTokenPairDto: null));
|
||||
|
||||
await pumpAppConfig(tester, GlobalRouter.pathLogin);
|
||||
await pumpApp(tester, const LoginWidget());
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
// Enter credentials
|
||||
|
||||
Reference in New Issue
Block a user