test: Add basic widget tests for MyDietsTab and MyDietWidget, and integration tests for create_diet.

This commit is contained in:
mso7nueh
2026-01-28 18:16:24 +03:00
parent 2d7407ce99
commit a1c0c2694b
2 changed files with 4 additions and 4 deletions

View File

@@ -326,7 +326,7 @@ void main() {
expect(find.byType(DietTypeChoiceWidget), findsOneWidget);
expect(find.byType(DietImagePickerWidget), findsOneWidget);
// Action buttons
expect(find.byType(CustomOutlinedButton), findsNWidgets(3));
expect(find.byType(CustomOutlinedButton), findsNWidgets(2));
});
});
}