From 12a2ee2d646e839deb008c1614fc4d6a91a580cf Mon Sep 17 00:00:00 2001 From: vjrj Date: Thu, 9 Jul 2026 14:49:15 +0200 Subject: [PATCH] test(ui): scroll to the About tile now that Backup pushes it below the fold --- apps/app_seeds/test/ui/about_screen_test.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/app_seeds/test/ui/about_screen_test.dart b/apps/app_seeds/test/ui/about_screen_test.dart index 989a645..2d65b6b 100644 --- a/apps/app_seeds/test/ui/about_screen_test.dart +++ b/apps/app_seeds/test/ui/about_screen_test.dart @@ -11,6 +11,7 @@ void main() { child: TaneApp( repository: newTestRepository(db), species: newTestSpeciesRepository(db), + onboarding: newTestOnboardingStore(), ), ); @@ -55,6 +56,8 @@ void main() { await tester.tap(find.text('Settings')); await tester.pumpAndSettle(); + // The backup section pushed the About tile below the fold. + await tester.scrollUntilVisible(find.text('About Tanemaki'), 200); await tester.tap(find.text('About Tanemaki')); await tester.pumpAndSettle(); @@ -87,6 +90,7 @@ void main() { await tester.pumpAndSettle(); await tester.tap(find.text('Settings')); await tester.pumpAndSettle(); + await tester.scrollUntilVisible(find.text('About Tanemaki'), 200); await tester.tap(find.text('About Tanemaki')); await tester.pumpAndSettle();