test(ui): scroll to the About tile now that Backup pushes it below the fold
This commit is contained in:
parent
d3711e39b0
commit
12a2ee2d64
1 changed files with 4 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ void main() {
|
||||||
child: TaneApp(
|
child: TaneApp(
|
||||||
repository: newTestRepository(db),
|
repository: newTestRepository(db),
|
||||||
species: newTestSpeciesRepository(db),
|
species: newTestSpeciesRepository(db),
|
||||||
|
onboarding: newTestOnboardingStore(),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -55,6 +56,8 @@ void main() {
|
||||||
await tester.tap(find.text('Settings'));
|
await tester.tap(find.text('Settings'));
|
||||||
await tester.pumpAndSettle();
|
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.tap(find.text('About Tanemaki'));
|
||||||
await tester.pumpAndSettle();
|
await tester.pumpAndSettle();
|
||||||
|
|
||||||
|
|
@ -87,6 +90,7 @@ void main() {
|
||||||
await tester.pumpAndSettle();
|
await tester.pumpAndSettle();
|
||||||
await tester.tap(find.text('Settings'));
|
await tester.tap(find.text('Settings'));
|
||||||
await tester.pumpAndSettle();
|
await tester.pumpAndSettle();
|
||||||
|
await tester.scrollUntilVisible(find.text('About Tanemaki'), 200);
|
||||||
await tester.tap(find.text('About Tanemaki'));
|
await tester.tap(find.text('About Tanemaki'));
|
||||||
await tester.pumpAndSettle();
|
await tester.pumpAndSettle();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue