diff --git a/lib/features/auth/screens/auth_screen.dart b/lib/features/auth/screens/auth_screen.dart index cd6d96df8..b1f20ba36 100644 --- a/lib/features/auth/screens/auth_screen.dart +++ b/lib/features/auth/screens/auth_screen.dart @@ -53,6 +53,7 @@ class AuthScreen extends StatelessWidget { const Image( image: AssetImage('assets/images/logo-white.png'), width: 85, + height: 85, ), Container( margin: const EdgeInsets.only(bottom: 20.0), diff --git a/test/features/auth/screens/auth_screen_test.dart b/test/features/auth/screens/auth_screen_test.dart index 35af5e06c..9c4da0552 100644 --- a/test/features/auth/screens/auth_screen_test.dart +++ b/test/features/auth/screens/auth_screen_test.dart @@ -334,6 +334,10 @@ void main() { await tester.pumpAndSettle(); // Act + // The card overflows the default 800x600 test surface and clips the + // ADVANCED footer at the bottom, so scroll it into view before tapping. + await tester.ensureVisible(find.byKey(const Key('advancedButton'))); + await tester.pumpAndSettle(); await tester.tap(find.byKey(const Key('advancedButton'))); await tester.pumpAndSettle(); await tester.tap(find.text('Refresh token')); @@ -382,6 +386,10 @@ void main() { await tester.pumpAndSettle(); // Act + // The card overflows the default 800x600 test surface and clips the + // ADVANCED footer at the bottom, so scroll it into view before tapping. + await tester.ensureVisible(find.byKey(const Key('advancedButton'))); + await tester.pumpAndSettle(); await tester.tap(find.byKey(const Key('advancedButton'))); await tester.pumpAndSettle(); await tester.tap(find.text('Refresh token'));