test(ui): scroll to the save button in the taller edit sheet; fix doc lint

This commit is contained in:
vjrj 2026-07-09 21:58:43 +02:00
parent 383eb3ba37
commit a96d82add9
2 changed files with 4 additions and 1 deletions

View file

@ -168,6 +168,9 @@ void main() {
await tester.tap(find.text('Tomato (Solanum lycopersicum)'));
await tester.pumpAndSettle();
// The suggestion tile pushes the save button below the sheet's fold.
await tester.ensureVisible(find.byKey(const Key('editVariety.save')));
await tester.pumpAndSettle();
await tester.tap(find.byKey(const Key('editVariety.save')));
await tester.pumpAndSettle();